1.0.5 • Published 2 months ago

realchart-export v1.0.5

Weekly downloads
-
License
license.txt
Repository
-
Last release
2 months ago

realchart-export

This is just a realchart-export module copied from realchart v1.0.1 This package is generated for simplicity of use.

Installation

The package expects that global realchart variable is set. It also doesn't export anything.

npm install realchart-export
import { RealchartExport } from "realchart-export";
import "realchart-export/dist/realchart-export.css";

Or include the script in your HTML file.

<link href="./styles/realchart-export.css" rel="stylesheet">
<script src = "./lib/realchart-export/index.js">

Basic Use

const config = {
    export: {
        useLibrary: true,
        menus: ['png', 'jpeg', 'svg'],
        hideScrollbar: true,
        hideNavigator: true,
        hideZoomButton: true,
        ...
    }
};

const chart = Realchart.createChart(document, id, config);
chart.export({
    type: 'png',
    fileName: 'realchart'
});
import { createChart } from "realchart";
import { RealchartExport } from "realchart-export";
import "realchart/dist/realchart-style.css";
import "realchart-export/dist/realchart-export.css";

const chart = createChart(document, id, config);
RealchartExport(chart);

chart.export({
    type: 'png',
    fileName: 'realchart'
});
1.0.5

2 months ago

1.0.4

3 months ago

1.0.3

3 months ago

1.0.2

4 months ago

1.0.1

4 months ago

1.0.0

4 months ago

0.1.0

4 months ago

0.0.5

4 months ago

0.0.4

4 months ago

0.0.3

4 months ago

0.0.2

4 months ago

0.0.1

5 months ago