This question is locked. New answers and comments are not allowed.
Hy guys,
This is weird but for some reasons i'm not able to hide title of the chart with xaml
The text is always there, i'm just want to hide or display it
Here's my code :
If i'm putting a textblock as content, then set the text property to TitleText, it works : the Title deseapper but keep the space, (my chart is in vertical strech) and i don't want to have a space if the title is collapsed !
Any workarounds ? Am i doing something wrong ?
Thanks
Damien
This is weird but for some reasons i'm not able to hide title of the chart with xaml
The text is always there, i'm just want to hide or display it
Here's my code :
<telerik:RadChart HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Background="{Binding MainBackground}" SeriesMappings="{Binding SeriesMappings}"> <telerik:RadChart.DefaultView> <telerik:ChartDefaultView> <!-- Title --> <telerik:ChartDefaultView.ChartTitle> <telerik:ChartTitle Content="{Binding TitleText}" Visibility="Collapsed" > </telerik:ChartTitle> </telerik:ChartDefaultView.ChartTitle> </telerik:ChartDefaultView> </telerik:RadChart.DefaultView> </telerik:RadChart>If i'm putting a textblock as content, then set the text property to TitleText, it works : the Title deseapper but keep the space, (my chart is in vertical strech) and i don't want to have a space if the title is collapsed !
Any workarounds ? Am i doing something wrong ?
Thanks
Damien