ProgressNS / nativescript-ui-feedback

This repository is used for customer feedback regarding Telerik UI for NativeScript. The issues system here is used by customers who want to submit their feature requests or vote for existing ones.
Other
115 stars 21 forks source link

Chart: CSS Styling #1255

Closed tgpetrov closed 5 years ago

tgpetrov commented 5 years ago

Currently to change the style of the series in the chart, one has to add PaletteEntires, to change the style of the labels, one has to use the Axis' properties, etc. Add support to control these through CSS. For example:

RadCartesianChart {
    color: red;
    background-color: blue;
}
BarSeries {
    stroke-width: 5;
    stroke-color: red;
    fill-color: blue;
}
ChartAxisLabel {
    font-size: 14;
    font-family: serif;
}
finger563 commented 5 years ago

hopefully this would also allow us to set the font of the axis labels - which I see no way to do according to the docs (and setting fontName on the axis doesn't work either)

tgpetrov commented 5 years ago

@finger563 yes, you will be able to change the font of the axis labels. For the next release of nativescript-ui-chart we plan to have the following:

zbranzov commented 5 years ago

The feature is released in nativescript-ui-chart@7.0.0