score:1
Accepted answer
This feature should be available in Highstock soon. For more information please check this issue: https://github.com/highcharts/highcharts/issues/15361
For now, you can preprocess your data. Example:
const getCumulativeData = (data) => {
const cumulativeData = [];
data.forEach((dataEl, index) => {
if (cumulativeData[index - 1]) {
cumulativeData.push([dataEl[0], dataEl[1] + cumulativeData[index - 1][1]]);
} else {
cumulativeData.push(dataEl);
}
});
return cumulativeData;
};
Live demo: http://jsfiddle.net/BlackLabel/846cgxhL/
Source: stackoverflow.com
Related Articles
- Automatically plot accumulated data
- Plot data values inside pie charts slice
- Automatically join missing data gaps in Highcharts JS
- Plot Highchart Gauge with JSON Data
- Highcharts scatter plot with lots of data points running really slow
- Is it possible update Highchart data automatically and make animated effect?
- Highcharts - Global configuration with common code and unique data & Headings
- How to input plot data into highcharts with rails
- Is there limit on the number of data points to plot HighChart
- Correct format of using csv data to plot highchart
- Highcharts Scatter Plot - How to Fix Overlapping Data Labels?
- Fetch data from firebase firestore and plot histogram using highcharts when cardview clicked - android
- Change color code on colum, depending on data value (highchartJS)
- Plot Highchart multiple series line chart using JSON data
- Get json data into Highcharts scatter plot
- Issue with JSON data encoded from the server, not able to plot the chart
- Plot Highcharts data from past 30 days with Ruby on Rails
- Have an issue with JavaScript, AJAX code displaying data
- Issue with Dates - trying to plot MongoDB data in Highcharts via PHP
- Highcharts display label for pie chart using html table as data source
- Creating a responsive accumulated rain chart from a series containing individual rain fall data using Highcharts
- Include additional highcharts source data in angular2 app
- Highcharts how to make legends as data labels on scatter plot
- Strange character in the Highstock source code
- Highcharts series visibility with csv data source
- HTML table as data source for highstock charts using highcharts
- How to plot line chart with series data in highcharts?
- How to Plot chart from two different webform Submission data And Wand to Display annotated point
- How to plot a highstock single line series graph from ajax data
- Highcharts: Is it possible to plot sunburst chart with no data values?
- Primary Y Axis Scale not Working in Highcharts
- Changing data series type dynamically with Highcharts-angular
- Scope not updating UI inside the success function of http.get
- Highcharts, error with xAxis type logarithmic
- highchart drill down break bar chart after change title
- Highcharts drilldown datalabels different from parent
- Highcharts with data from sql database
- High chart is not getting populated
- Highchart stacked area empty spaces (negative values)
- Custom Marker (Rectangle with rounded corner) for highcharts scatter graph
- Get time from Psql to Highstock
- a.getLabelConfig is not a function
- How to show tooltip of bars as default in highcharts gantt?
- How to convert datetime string to UTC to plot points on Highcharts
- How to hide "showInLegend" of Highcharts in angular 8.1?
- HighCharts performance degrades dramatically with 'chart' and 'renderer' together
- Highcharts paint zero axis black
- JSON data from URL
- Highcharts change colour of individual bar
- Highcharts multiple x axis and yaxis. The width of the 1st x-axis is not in sync with browser resize