BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
Using HorizontalLineAnnotation and ShowAxisLabel (and showline =false ) I can set an axis label (im using it to show the last value of a price chart). But is there any way that I could have
the label appear to the right of the chart, rather than on the left? (but I want to keep the axis on the left).
<chart:SfChart Margin="10">
<chart:SfChart.SecondaryAxis>
<chart:NumericalAxis Minimum="0" Maximum="50">
</chart:NumericalAxis>
</chart:SfChart.SecondaryAxis>
<chart:SfChart.Annotations>
<chart:HorizontalLineAnnotation Y1="12"
ShowAxisLabel="True" YAxisName="yAxis"/>
</chart:SfChart.Annotations>
<chart:LineSeries XBindingPath="XValue"
Label="Series"
YBindingPath="YValue"
ItemsSource="{Binding Data}">
<chart:LineSeries.YAxis>
<chart:NumericalAxis OpposedPosition="True"
Minimum="0" Maximum="50" ShowGridLines="False"
Visibility="Hidden"
x:Name="yAxis"/>
</chart:LineSeries.YAxis>
</chart:LineSeries>
</chart:SfChart>
|