highcharts-export-csv

WebJar for highcharts-export-csv

License

License

MIT
Categories

Categories

CSV Data Data Formats
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

hc-export-csv-no-table
Last Version

Last Version

1.4.5
Release Date

Release Date

Type

Type

jar
Description

Description

highcharts-export-csv
WebJar for highcharts-export-csv
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

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

Download hc-export-csv-no-table

How to add to project

<!-- 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"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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.

Versions

Version
1.4.5