This question is locked. New answers and comments are not allowed.
Hi,
I am trying to format the color and size of the small number or multiple numbers that show on a column either insize or above. At the moment it is defaulted as white and very small to read.
15
(~~~~~)
( )
( 6 )
( )
I.e as above.
My Code for 1 chart below:
<Chart:RadCartesianChart x:Name="chartExcerciseWeight" Visibility="Collapsed" Margin="0,96,0,69" Palette="{Binding DefaultPalette}">
<Chart:RadCartesianChart.Grid>
<Chart:CartesianChartGrid MajorLinesVisibility="Y" StripLinesVisibility="X">
<Chart:CartesianChartGrid.MajorYLineStyle>
<Style TargetType="Line">
<Setter Property="Stroke" Value="#FFC3C0C0"/>
</Style>
</Chart:CartesianChartGrid.MajorYLineStyle>
</Chart:CartesianChartGrid>
</Chart:RadCartesianChart.Grid>
<Chart:RadCartesianChart.HorizontalAxis>
<Chart:CategoricalAxis Foreground="#FF595959" PlotMode="OnTicksPadded" FontSize="15" LabelFitMode="Rotate" LabelRotationAngle="340"/>
</Chart:RadCartesianChart.HorizontalAxis>
<Chart:RadCartesianChart.VerticalAxis>
<Chart:LinearAxis
Title="."
Foreground="#FF595959"
FontSize="15"
Minimum="0">
<Chart:LinearAxis.TitleTemplate>
<DataTemplate>
<TextBlock FontSize="20" Padding="10,10,10,10" Foreground="#FF5F5F5F" Text="Weight Lifted"/>
<!-- formats the lable Y-->
</DataTemplate>
</Chart:LinearAxis.TitleTemplate>
</Chart:LinearAxis>
</Chart:RadCartesianChart.VerticalAxis>
<Chart:BarSeries ShowLabels="True" ItemsSource="{Binding Source={StaticResource itemsViewSource}}">
<Chart:BarSeries.CategoryBinding>
<Chart:PropertyNameDataPointBinding PropertyName="Excercise"/>
</Chart:BarSeries.CategoryBinding>
<Chart:BarSeries.ValueBinding>
<Chart:PropertyNameDataPointBinding PropertyName="Max_Weight"/>
</Chart:BarSeries.ValueBinding>
</Chart:BarSeries>
</Chart:RadCartesianChart>
I am trying to format the color and size of the small number or multiple numbers that show on a column either insize or above. At the moment it is defaulted as white and very small to read.
15
(~~~~~)
( )
( 6 )
( )
I.e as above.
My Code for 1 chart below:
<Chart:RadCartesianChart x:Name="chartExcerciseWeight" Visibility="Collapsed" Margin="0,96,0,69" Palette="{Binding DefaultPalette}">
<Chart:RadCartesianChart.Grid>
<Chart:CartesianChartGrid MajorLinesVisibility="Y" StripLinesVisibility="X">
<Chart:CartesianChartGrid.MajorYLineStyle>
<Style TargetType="Line">
<Setter Property="Stroke" Value="#FFC3C0C0"/>
</Style>
</Chart:CartesianChartGrid.MajorYLineStyle>
</Chart:CartesianChartGrid>
</Chart:RadCartesianChart.Grid>
<Chart:RadCartesianChart.HorizontalAxis>
<Chart:CategoricalAxis Foreground="#FF595959" PlotMode="OnTicksPadded" FontSize="15" LabelFitMode="Rotate" LabelRotationAngle="340"/>
</Chart:RadCartesianChart.HorizontalAxis>
<Chart:RadCartesianChart.VerticalAxis>
<Chart:LinearAxis
Title="."
Foreground="#FF595959"
FontSize="15"
Minimum="0">
<Chart:LinearAxis.TitleTemplate>
<DataTemplate>
<TextBlock FontSize="20" Padding="10,10,10,10" Foreground="#FF5F5F5F" Text="Weight Lifted"/>
<!-- formats the lable Y-->
</DataTemplate>
</Chart:LinearAxis.TitleTemplate>
</Chart:LinearAxis>
</Chart:RadCartesianChart.VerticalAxis>
<Chart:BarSeries ShowLabels="True" ItemsSource="{Binding Source={StaticResource itemsViewSource}}">
<Chart:BarSeries.CategoryBinding>
<Chart:PropertyNameDataPointBinding PropertyName="Excercise"/>
</Chart:BarSeries.CategoryBinding>
<Chart:BarSeries.ValueBinding>
<Chart:PropertyNameDataPointBinding PropertyName="Max_Weight"/>
</Chart:BarSeries.ValueBinding>
</Chart:BarSeries>
</Chart:RadCartesianChart>