Pending Review
Last Updated: 25 Nov 2019 23:23 by Fredrik
Fredrik
Created on: 25 Nov 2019 23:23
Category: Chart
Type: Feature Request
0
Provide a way to specify font-weight for text elements in the Kendo chart widget.

We want the Kendo chart widget (RadHtmlChart actually) to blend in with the webpage we use it in. In this page, we use font-weight 300. Since there is no way to specify the font-weight in the chart, we have had to use a hack to specify it:

 

            function chartLoad(chart, args) {
                chart.get_kendoWidget().setOptions({ title: { font: "20px sans-serif; font-weight: 300" }});
            }

 

This is not only a clumpsy hack, but it also make use of a custom skin impossible (for setting the font).

0 comments