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 Query
- 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?
More Query from same tag
- Current month tick labels in week format and other tick labels in month/year format(Highcharts)
- show tooltip for each point of highcharts network graph in Angular
- Creating an object array of two value arrays dynamically – application: highcharts dotnet
- Highchart JSON pie chart display Slice undefined
- Return the next line of a csv file each time a php script is called
- Highcharts: how to make slices readjust when disabling one?
- How to modify highstock chart so that it can be used for displaying ranks (Lowest values on highest points)
- Highcharts: when having multiple columns for the same X axis value, how can I get 1 tooltip per column?
- Is there a limit for Scatter plots using JS?
- Highcharts not plotting datetime series
- highcharts positioning and colour
- Highcharts - null values are plotted on stacked area chart, in latest version
- Use of highcharts' addChart function within a getJSON call (looping over multiple local files)
- Navigator and scroll both misbehaving in stock highcharts
- Convert hours and minute to millisecond using javascript or jQuery
- Highcharts Y-axis labels
- Customizing tooltip leaving the candle stick as it is
- Hide Series without hiding y-Axis
- is there any way we can append last value forcefully on x-axis?
- Using highchart to get a series of a series in a column chart
- In highcharts.js, how to make custom ticks with an image
- Bootstrap - Highcharts not showing
- How to set default zoom to 6 months using highcharts-react?
- Highcharts - Change line color between points
- HighCharts: draw multiple segments in a single serie?
- How to draw multiple segments overlapping and non overlapping in high-charts?
- Draw tick lines at the top of highcharts chart
- Display Google spreadsheet data using Highcharts library
- How can I create a daily chart with HighCharts
- Highstock charts - Show the blank space up to the current date