T
T
Triglav772019-06-20 15:16:34
Highcharts
Triglav77, 2019-06-20 15:16:34

Export data from highstock graph to xls?

Tell me how you can export data from the highstock chart to xls
Through menuItemDefinitions does not work

exporting: {
        menuItemDefinitions: {
            // Custom definition
            label: {
                onclick: function () {
                    this.renderer.label(
                        'Меню',
                        100,
                        100
                    )
                        .attr({
                            fill: '#a4edba',
                            r: 5,
                            padding: 10,
                            zIndex: 10
                        })
                        .css({
                            fontSize: '1.5em'
                        })
                        .add();
                },
                text: 'Show label'
            }
        },
        buttons: {
            contextButton: {
                menuItems: ['downloadPNG', 'downloadSVG', 'downloadPDF', 'downloadCSV', 'separator', 'label']
            }
        }
    }

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question