This is a migrated thread and some comments may be shown as answers.

background areas

1 Answer 6 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 11 Nov 2015, 03:18 PM

The valueAxis is a percentage value.

Is it possible to give the whole chart a red background color for the region below the 20% range?

1 Answer, 1 is accepted

Sort by
0
Accepted
EZ
Top achievements
Rank 2
answered on 11 Nov 2015, 06:53 PM

Yes, look into plotbands:

 http://demos.telerik.com/kendo-ui/bar-charts/plotbands

 API Docs:

http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart#configuration-valueAxis.plotBands‚Äč

 

valueAxis:  {
    plotBands: [
        { from: 0, to: 20, color: "red" }
    ]
},

Tags
Charts
Asked by
Christian
Top achievements
Rank 1
Answers by
EZ
Top achievements
Rank 2
Share this question
or