highcharts-export-csv

WebJar for highcharts-export-csv

Лицензия

Лицензия

MIT
Категории

Категории

CSV Данные Data Formats
Группа

Группа

org.webjars.bower
Идентификатор

Идентификатор

hc-export-csv-no-table
Последняя версия

Последняя версия

1.4.5
Дата

Дата

Тип

Тип

jar
Описание

Описание

highcharts-export-csv
WebJar for highcharts-export-csv
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/CamdenClark/export-csv

Скачать hc-export-csv-no-table

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.bower/hc-export-csv-no-table/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>hc-export-csv-no-table</artifactId>
    <version>1.4.5</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/hc-export-csv-no-table/
implementation 'org.webjars.bower:hc-export-csv-no-table:1.4.5'
// https://jarcasting.com/artifacts/org.webjars.bower/hc-export-csv-no-table/
implementation ("org.webjars.bower:hc-export-csv-no-table:1.4.5")
'org.webjars.bower:hc-export-csv-no-table:jar:1.4.5'
<dependency org="org.webjars.bower" name="hc-export-csv-no-table" rev="1.4.5">
  <artifact name="hc-export-csv-no-table" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='hc-export-csv-no-table', version='1.4.5')
)
libraryDependencies += "org.webjars.bower" % "hc-export-csv-no-table" % "1.4.5"
[org.webjars.bower/hc-export-csv-no-table "1.4.5"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

export-csv

This plugin allows the user to export the chart data to various formats and views.

The contents of the plugin is located in the JavaScript file "export-csv.js". This plugin is published under the MIT license, and the license document is included in the repository.

Demos

Options

  • exporting.csv.columnHeaderFormatter Formatter callback for the column headers. Parameters are item (the series or axis object), key (the point key, for example y or z), and keyLength. By default it returns the series name, followed by the key if there is more than one key. For the axis it returns the axis title or "Category" or "DateTime" by default.

  • exporting.csv.dateFormat Which date format to use for exported dates on a datetime X axis. See Highcharts.dateFormat.

  • exporting.csv.itemDelimiter The item delimiter, defaults to ,. Use ; for direct import to Excel.

  • exporting.csv.lineDelimiter The line delimiter, defaults to \\n.

  • series.includeInCSVExport Set this to false to prevent an individual series from being exported. To prevent the navigator in a stock chart, set navigator.series.includeInCSVExport to false.

Methods

  • Chart.getCSV() Returns the current chart data as a CSV string

  • Chart.getTable() Returns the current chart data as a HTML table string, ready to be inserted into the DOM using innerHTML.

  • Chart.getDataRows() Returns the current chart data as a two dimensional array.

  • Chart.viewData() Inserts a data table below the chart container.

Версии библиотеки

Версия
1.4.5