I have a High Chart chart similar to this bar chart: http://jsfiddle.net/s4zzpLzL/
How would I got about spliting the bar colors so that the color of the bar up until 500
is grey and the color of the bar after is the color you see on the screen? See image below.
You can use
zones
in each serie like this:value
is the up until value, andcolor
is the color of that zone. Here's your edited FIDDLEEDIT:
You can also use
plotBands
but it's not exactly what you would want: DEMOThere is also a plugin which I don't think covers exactly what you are asking: Plugin
Other than these I don't think there is another way unless you alter your data and use
stacked bar
chart. You will have to change all of your data though and it will be tiresome.You can set gradient color for series, demo: http://jsfiddle.net/pscwnzk7/1/
The only problem with that solution is that you can't specify (in values) where will be break - try to resize chart. So you would need to update series color gradient on each window resize etc.
You can use concept of grouping, threshold and negativeColor to achieve this. Create 2 series with the same data and overlap them with grouping: false and a negativeColor: 'transparent'
demo: https://jsfiddle.net/1dp8L1gw/