This is a migrated thread and some comments may be shown as answers.
Change Value Axis background color on Kendo Line chart
3 Answers 56 Views
This is a migrated thread and some comments may be shown as answers.
Vimal
Top achievements
Rank 1
Vimal asked on 28 Sep 2013, 01:14 AM
Hi ,

Can i change the Value axis background color on Kendo Line chart.
It always seems to take the background of the main chart div .
We dont see any background property for valueAxis in the kendo documentation.

3 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 30 Sep 2013, 01:04 PM
Hi,

Currently, you can only control the label background. This is in line with popular products like Excel, for example.

That said, adding a background property won't be too hard. We can draw a box underneath the whole axis (incl. labels). Does this make sense?

Regards,
T. Tsonev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Vimal
Top achievements
Rank 1
answered on 01 Oct 2013, 05:15 PM
Hi T. Tsonev,

That solution should be fine. Would it be along the same lines as the format options for things like the chartArea, e.g.:

            chartArea: {
                background: "red"
            },

If so then that is perfect. When can we see this functionality by?

Thanks.


0
T. Tsonev
Telerik team
answered on 04 Oct 2013, 02:32 PM
Hi,

This is the exact configuration I had in mind:
category/value/x/yAxis: {
    background: "#f00"
}


We'll try to push it out as part of the internal builds in the next week or so.

Regards,
T. Tsonev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Asked by
Vimal
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Vimal
Top achievements
Rank 1
Share this question
or