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


Possible to have a point series where the points have varying size,...
Author
Message
David Hubbard
David Hubbard
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
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
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

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


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search