How can I change SmartLabel background > Its by default a Textblock.
How can i change it to label or some other control?
Thankyou,
1 Answer, 1 is accepted
0
Accepted
Dinko | Tech Support Engineer
Telerik team
answered on 16 Dec 2016, 12:52 PM
Hi ,
Let first start you mark this thread for the old RadChart control. For new development, we urge you not to use the old RadChart but use the new RadChartView. The new chart view is actually a set of controls - RadCartesianChart, RadPieChart, RadPolarChart, ChartDataSource. It is much faster, very flexible, resolves almost all limitations the old control had and is pretty easy to set up. You can read about the differences between the components in the RadChart vs. RadChartView help article.
In the new chart, you can replace the TextBlock in the labels by specifying a custom DataTemplate and set it to the Template property of the ChartSeriesLabelDefinition. In the data template, you can specify different control than . You can take a look at the Label Definition help article in our documentation.