Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
490
Horizontal alignment changes on marker text
posted

We have a column series chart which is created once and reused for rendering data(from performance perspective as we are creating them in bulk). We are using Marker data-template to display text

 <DataTemplate x:Key="TextMarkerTemplate">

                <Grid ><TextBlock Text="{Binding Item.BarValue}" FontFamily="HelveticaNeue LT 55 Roman"/>

                    </Grid></DataTemplate>

There is a random issue we are facing where one of the marker text is skewed to the right 

(This happens only if control is being reused multiple times i.e. we keep updating the datacontext object model for re-rendering)