Highchart's gauge with gradient plotband -


I am trying to use high gauge. Is there a way to set up plot bands on a discounted gradient? If the price of my gauge is 0-100, then I want the plot band to be red to 0 to yellow and green on 100 to 50.

I thought that I could only produce unmarried plotbands classes, each stop point 1-100, but if there was a way to set a linear grantant, which would be very clean, would any one know the path?

Yes, this is possible. Try doing something like this:

  yAxis: {min: 0, max: 100, plotBands: [{color: {linearGradient: [300, 300, 0, 0], prevents: [[0, 'RGB (255, 255, 255)'], [1, 'RGB (150, 200, 155)']]}, to: 0, to: 100}],},  < / Pre> 

Carefully be able to combine many conspiracies with your colors, linear grids and / or whatever you want to do.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -