Profile Picture

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

Posted By David Hubbard 12 Years Ago

Possible to have a point series where the points have varying size,...

Author
Message
David Hubbard
Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 1, Visits: 1

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



Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

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.



Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic