Hello, I am currently using SfChart in a UWP application that display data, using a ColumnSerie for each day of the month. I use ChartAdornmentInfo , to display the current value into the center of the corresponding column, rotated by 90 degrees. When running on a mobile, it takes about 3 to 5 seconds to refresh the 30 columns, on desktop it runs really fast. When I remove the AdornmentInfo, it runs faster on Mobile (the delay is acceptable). So my question is : How can I speed up things? Or is there a way to hide the AdornmentInfo when on mobile (code behind or xaml) ? I tried to set the ShowLabel to false using an adaptive trigger but although the label does not display, it still tales time to render the chart.
Thank you, I will have a lookt at this. But I'll have to maintain 2 views for nearly the same feature. Is it possible to have a resource with the AdornmentInfo in xaml, and set it on the SfChart via code behind maybe, when needed ( = when not on mobile) ? I think it would we easier to maintain only one view.
RARachel A Syncfusion Team November 16, 2015 01:08 PM UTC
Thanks for the update.
We can define the ChartAdornmentInfo as resource in App.Xaml and set the adornment in code behind if the DeviceFamily is not Mobile as in the below code example.