Unplanned
Last Updated: 21 Oct 2024 11:15 by Todor
Clint
Created on: 24 Nov 2022 11:33
Category: Chart
Type: Feature Request
1
Chart: Provide an option to add a title

Add an option to define chart title. 

 Currently we can achieve this by adding a label on the top/bottom of the chart.

Example:

<Grid RowDefinitions="Auto,*">
    <Label Grid.Row="0" Text="Chart title"/>
    <telerik:RadCartesianChart x:Name="chart" Grid.Row="1" AutomationId="chart">
        <telerik:RadCartesianChart.BindingContext>
            <local:ViewModel />
        </telerik:RadCartesianChart.BindingContext>
        <telerik:RadCartesianChart.HorizontalAxis>
            <telerik:CategoricalAxis />
        </telerik:RadCartesianChart.HorizontalAxis>
        <telerik:RadCartesianChart.VerticalAxis>
            <telerik:NumericalAxis />
        </telerik:RadCartesianChart.VerticalAxis>
        <telerik:RadCartesianChart.Series>
            <telerik:BarSeries CategoryBinding="Category"
                                ValueBinding="Value"
                                ItemsSource="{Binding Data}" />
        </telerik:RadCartesianChart.Series>
    </telerik:RadCartesianChart>
</Grid>

1 comment
Todor
Posted on: 21 Oct 2024 11:15
... and an axis title.