ChartView PolarPoint customize

2 posts, 0 answers
  1. Marco
    Marco avatar
    1 posts
    Member since:
    Sep 2013

    Posted 24 Nov 2016 Link to this post


    I have a Polar ChartView with PolarPoint series and a custom background, for evid better the points I need to change the outline of datapoints (ex: 1 pixel of black outside the circle).

    I managed to change the shape with PolarPointSeries.Shape and size with .PointSize but I didn't reach the point border props or color.

    How I can manage that?

  2. Hristo
    Hristo avatar
    1522 posts

    Posted 25 Nov 2016 Link to this post

    Hello Marco,

    Thank you for writing.

    You can display the point borders by setting the BordeBoxStyle to OutLineInnerBorders. Please check my code snippet below: 
    this.radChartView1.AreaType = ChartAreaType.Polar;
    PolarPointSeries polarPointSeries = new PolarPointSeries();
    polarPointSeries.PointSize = new SizeF(20, 20);
    polarPointSeries.BorderColor = Color.Red;
    polarPointSeries.BorderBoxStyle = BorderBoxStyle.OuterInnerBorders;

    I am also sending you a screenshot showing the result on my end.

    I hope this helps. Should you have further questions please do not hesitate to write back.

    Hristo Merdjanov
    Telerik by Progress
    Telerik UI for WinForms is ready for Visual Studio 2017 RC! Learn more.
Back to Top