- HighCharts: Basic Graphing
- Highcharts: Add Custom Buttons
If you’ve never used HighCharts for your graphing needs I highly suggest it. Very customizable and easy to use.
You will need to require the exporting requirements.
- import Highcharts from "highcharts/highcharts.js";
- window.Highcharts = Highcharts;
- require("highcharts/modules/exporting")(Highcharts);
If you would like to add a custom button to your graph you can use the exporting section like below.
- exporting: {
- buttons: {
- customButton: {
- text: "Button Text",
- onclick: function () {
- }
- },
- },
- }