javascript - Highcharts Column Graph with background color? -


i'm trying make column graph in highcharts , it's not working out hot. i'm trying give column background color data point can overlay. want effect of stacking without stacking if makes sense. thoughts on can do? want progress bar... there should distinct coloring between top of bar , top of graph itself. i've tried stacking: percentage, no avail. thoughts?

there 3 options come mind:

1) achieve 'effect' of stacking, stack it: use dummy series color set background color want, , set values fill gap actual data.

example:

[[edit questions

the order of series not matter work, , neither legendindex.

what matter, if using multiple series, stack property each series - http://api.highcharts.com/highcharts#series.stack

each group need own stack, , dummy series , real series within each group need assigned same stack.

in addition, need have 1 overall max value.

updated example:

(keep in mind, there smoother methods process , build data - quick , dirty example purpose show how use stack property need)

]]

2) plotbands, mentioned above

3) using alternategridcolor property , set data skip x axis value between each point.

reference:

- http://api.highcharts.com/highcharts#xaxis.alternategridcolor


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -