score:2
Accepted answer
I am not 100% sure of exactly what values you want to go where, but the concept of how I would solve this, is as follows:
series: [{
name: 'Series 1',
data: [{x: 0, y: -19}, {x: 0, y: 10},
{x: 1, y: -31}, {x: 1, y: 20}]
}, {
name: 'Series 2',
data: [{x: 0, y: 33}, {x: 0, y: -10},
{x: 1, y: 56}, {x: 1, y: -20},]
}, {
name: 'Series 3',
data: [{x: 0, y: 10}, {x: 0, y: -23},
{x: 1, y: 13}, {x: 1, y: -30}]
}]
Where we still have the same 3 series, but we explicitly state which category the values should belong to, i.e. x: 0
is category 1, and x: 1
is category 2.
Working JSfiddle example: https://jsfiddle.net/ewolden/kdszxjn3/6/
Source: stackoverflow.com
Related Query
- How to draw a bar chart that one series has both positive and negative values in Highcharts?
- Highcharts - Area Chart - Stacking with series containing negative and positive values
- How to feed series data that has x axis and y axis values in line highcharts?
- How to change the series color and mark after I draw the line chart in highcharts?Does it has databound event?
- How to draw two series in the same chart that has different data time in xAxis
- Highcharts: having trouble recreating stacked area chart from Excel with positive and negative values
- highcharts lollipop/dumbbell chart change position/colour of positive and negative marker values
- How to render a bar chart with different series with only one entry per category in HighCharts
- How to display positive and negative values in positive side of graph in Highchart?
- Highcharts bar chart with negative and positive data
- Highmaps - how to draw two mabBubble series on one chart
- How to draw a chart from one array of data and make labels on the chart from another array of data? Highcharts v.4.0.4
- Highcharts - Stacked Bar Column - Total Value of Stacked Bar not Correct with Negative and Positive Values
- Highcharts - best way to handle and display zero (or negative) values in a line chart series with logarithmic Y axis
- Highcharts 3.0, area chart with stacked and unstacked series - how to fix?
- How to use add series and update methods in the high chart wrapper for angular?
- Highcharts.js, how to zoom in on one chart to resize another as Stackoverflow has done?
- Heat Map With Red Color Range For Negative Values And Green Color Range For Positive Values
- How center the value 0[threshold], the line which separates positive and negative value?
- Bar with negative stack and positive labels
- Highcharts: Offset origin for positive and negative values
- How to display the total of the series values for a donut chart in Highcharts?
- How to remove decimal values on x-axis of bar chart : Highcharts
- How could you supply multiple series to a line chart in R shiny using highcharter package and without hardcoding the series?
- How to create pie chart with only 1 series data and have background be a circle
- Column chart with negative values and categories on xAxis in HighCharts
- How do I calculate the total Data values for both and display in Legend
- Highcharts: how to draw line segments with click-and-drag and without chart to scroll?
- How to get chart min and max values after Drag zooming in highChart chart?
- Highcharts single horizontal stacked bar chart with data names (labels) and %-ages always shown and data numbers and series name shown on mousehover
More Query from same tag
- Populate Highchart with data from a python function
- highcharts type bubble with static Y-axis list
- Highcharts: how to change line color when hovering a scatterplot series
- Highcharts Node.js export server : Connection error
- Rendering more than one chart with Highcharts using Angular js Directives
- Highcharts: Click to Highlight instead of Hide (= Always show non-selected)
- Passing arrays to series data not working
- Printing table with charts in html through FireFox
- I have no direct access to code but wonder if I can append my chart data points to a log file
- How do I scrape data from a highcharts graph in python?
- Time setting for hour
- R Highcharter Issues with adding plotBands on y-axis where hc_yAxis_multiples used
- Can we stack a 2 columns in a single column in basic column Highchart and let the other columns let it be?
- Collapse Highcharts Organization Chart
- highcharts-export-clientside Unsupported export format
- Highcharts font styling via css
- How to invert multiple y-axis in R highcharter?
- Highcharts 3.0 Bubble Chart -- Controlling bubble sizes
- How to draw multiple highcharts using highcharts-ng and angularjs
- Implementing Custom Temperature Gauge with Angular 4 and HighCharts
- highchart x axis not showing correct date labels
- Highcharts - How to show intermediate values on Area chart
- HighChart.js : How to group nodes in organization chart
- HighChart Avoiding points on the plotbackground
- Highcharts single row stacked horizontal bar: labels overlap --- bar segments too small to read "dataLabels" --- (change "distance" of "dataLabels"?)
- How can i loop data in highcharts
- Draw JSON result in highchart
- Loading Highcharts via shim using RequireJS and maintaining jQuery dependency
- How can I make pie chart of high chart libarary unrotatable?
- How to convert Number 23.0 to Number 23.00?