Hello,
I'm using the RadCartesianChart to display a dynamic number of series using two y-axis. I'd like to set the style of the vertical axis title. Any help would be appreciated.
When I have one y-axis, I can do this:
<telerik:RadCartesianChart.VerticalAxis> <telerik:LinearAxis Minimum="0" x:Name="verticalAxis" HorizontalLocation="Left" MajorTickStyle="{StaticResource tickStyle}" LineThickness="1.5" LineStroke="Gray" LabelStyle="{StaticResource axisLabelStyle}" > <telerik:LinearAxis.Title> <TextBlock FontWeight="Bold" FontSize="13" x:Name="txtYAxisTitle"/> </telerik:LinearAxis.Title> </telerik:LinearAxis></telerik:RadCartesianChart.VerticalAxis>
But Since I can only create one y-axis this way, I can't do it this way. Instead, I have created two y-axis dynamically. When I do that, I don't know how to set the style of the title (ie. txtYAxisTitle from above). This is what I have that isn't working:
LinearAxis verticalAxisOne = new LinearAxis();verticalAxisOne.Style = Resources["AxisTitleStyle"] as Style;