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
399
How each data point can set the format?
posted

Hello

How  I can set the style(e.x.FontSize) Label displayed of the data points?
(Inside the red circle) if I could set style for each one of those styles individually.
I would be happier.

regards.

Yung.Emary

  • 9836
    Verified Answer
    posted

    Hello,

    I don't think there is a way to set the FontSize for a specific label that is used for the markers but you can set this for a series e.g.:

    <igCA:XamChart.Series>
                    <igCA:Series ChartType="Line" x:Name="series1">
                        <igCA:Series.Marker>
                              <igCA:Marker FontSize="20"/>
                        </igCA:Series.Marker>
                        <igCA:Series.DataPoints>
                            <igCA:DataPoint Value="10"/>
                            <igCA:DataPoint Value="50"/>
                            <igCA:DataPoint Value="30"/>
                        </igCA:Series.DataPoints>
                    </igCA:Series>
                    <igCA:Series ChartType="Line" x:Name="series2">
                        <igCA:Series.Marker>
                              <igCA:Marker FontSize="10"/>
                        </igCA:Series.Marker>
                        <igCA:Series.DataPoints>
                            <igCA:DataPoint Value="50"/>
                            <igCA:DataPoint Value="10"/>
                            <igCA:DataPoint Value="80"/>
                        </igCA:Series.DataPoints>
                    </igCA:Series>
    </igCA:XamChart.Series>

    Let me know if this is what you are looking for and if you have any questions