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
40
Dynamically Change Width and Height of Rectangular Marker in Scatter Chart
posted

Hi.

I have an WPF application with a Scatter Chart.  I would like to dynamically change the width and height of a rectangular marker on the Scatter Chart in C#.  Is that possible? 

Thanks in advance,

Parents
  • 9836
    posted

    Hello,

    You can use the MarkerSize property to increase or decrease the size of the marker e.g. in a button click event.

    private void button1_Click(object sender, RoutedEventArgs e)
    {
                xamChart1.Series[0].Marker.MarkerSize = 10;
    }

    Regards

    Vlad

Reply Children