BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
<chart:NumericalAxis.LabelStyle> <chart:ChartAxisLabelStyle LabelFormat="#,###.00" /> |
<chart:ChartTrackballBehavior.LabelStyle>
<chart:ChartTrackballLabelStyle LabelFormat = "{Binding Detail.Result.Result.CostFormat}"/>
</chart:ChartTrackballBehavior.LabelStyle>
and this
<chart:NumericalAxis.LabelStyle>
<chart:ChartAxisLabelStyle LabelFormat = "{Binding Detail.Result.Result.CostFormat}"/>
</chart:NumericalAxis.LabelStyle>
the format on the axis is fine, but not on the track ball, I can set the label format manualy on the track ball which does work but i want to bind it in order to set pre and post fixes based on data in the model
any ideas?
<chart:SfChart VerticalOptions="FillAndExpand" IsVisible="{Binding BudgetVisible}" BackgroundColor="Transparent" >
<chart:SfChart.PrimaryAxis>
<chart:CategoryAxis LabelPlacement="BetweenTicks" ZoomFactor="1" LabelRotationAngle = "0" LabelsIntersectAction="MultipleRows">
<!--SelectedIndex="{Binding SelectedValue}"-->
<chart:CategoryAxis.Title>
<chart:ChartAxisTitle Text="Day of Month"/>
</chart:CategoryAxis.Title>
</chart:CategoryAxis>
</chart:SfChart.PrimaryAxis>
<chart:SfChart.SecondaryAxis>
<chart:NumericalAxis>
<chart:NumericalAxis.Title>
<chart:ChartAxisTitle Text="Cost"/>
</chart:NumericalAxis.Title>
<chart:NumericalAxis.LabelStyle>
<chart:ChartAxisLabelStyle LabelFormat = "{Binding Detail.Result.Result.CostFormat}"/>
</chart:NumericalAxis.LabelStyle>
</chart:NumericalAxis>
</chart:SfChart.SecondaryAxis>
<chart:SfChart.Series>
<chart:ColumnSeries ItemsSource = "{Binding Detail.Result.Result.DaysCumForGraph}" Color="{x:Static statics:Palette.LemongrassGreen}"/>
<chart:LineSeries ItemsSource = "{Binding Detail.Result.Result.DaysBudgetForGraph}" Color="{x:Static statics:Palette.DarkGreen}"/>
</chart:SfChart.Series>
<chart:SfChart.ChartBehaviors>
<chart:ChartZoomPanBehavior />
<chart:ChartTrackballBehavior x:Name="trackBall" ShowLine="False" LabelDisplayMode="NearestPoint">
<chart:ChartTrackballBehavior.LabelStyle>
<chart:ChartTrackballLabelStyle LabelFormat="{Binding Binding Detail.Result.Result.CostFormatTrackBall}" />
</chart:ChartTrackballBehavior.LabelStyle>
</chart:ChartTrackballBehavior>
</chart:SfChart.ChartBehaviors>
</chart:SfChart>
any ideas