Nevron Forum

Possible to have a point series where the points have varying size, shape and color

https://www.nevron.com/Forum/Topic7249.aspx

By David Hubbard - Friday, December 21, 2012

I am new to Nevron charts. I have to show a point series where some of the points will have different shapes and colors. I found an example that alternates the fill color of the points. Here the ComposeDataPoint returns a standard NDataPoint but could I construct an shape data point instead (I am not familiar with the data point types)

            // using compose            for ( int i = 0; i < point.Values.Count; i++             {                var dataPoint = point.ComposeDataPoint( i ;                 if ( i % 2 == 0                     dataPoint [ DataPointValue.FillStyle ] = new NColorFillStyleColor.Red ;                else                    dataPoint [ DataPointValue.FillStyle ] = new NColorFillStyleColor.Green ;                 // store the data point after you modify it                 point.StoreDataPoint( i, dataPoint ;            }

But I need to change the shape, size and color of points as shown below. Is this possible?

Image with different point styles

By Nevron Support - Friday, December 21, 2012

Hi David,

The point series does not support drawing points with different shape. To workaround this limitation you generally have two options:

1. Create a separate point series for each set of points with different shape.

2. Use the custom series to implement custom point painting.

Let us know if you meet any problems or have any questions.