Profile Picture

Change Dot Size for TriangulatedSurfaceChart

Posted By joern kunze 7 Years Ago
Author
Message
joern kunze
Posted 7 Years Ago
View Quick Profile
Junior Member

Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)

Group: Forum Members
Last Active: 5 Months Ago
Posts: 86, Visits: 218
Hi Experts,
I want to use a TriangulatedSurfaceChart where the actual data points are shown in the Chart. 
To do so, I use:

   NTriangulatedSurfaceSeries surface = (NTriangulatedSurfaceSeries)nChartControl1.Charts[0].Series[0];
   surface.FrameMode = SurfaceFrameMode.Dots;

Basically, this is working fine. But unfortunatly the dot size is very small - sometimes it is very hard to see the dot at all.

So I would like to change the dot size and colour - how can I do that?

Thanks a lot,
Sincerely,
Joern

Nevron Support
Posted 7 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,034, Visits: 3,710

Hi Joern,

The dot size is controlled from the width of the surface FrameStrokeStyle. The color depends on the value of the FrameColoMode property:
- Zone - color are computed depending on the values of the currently used zoning (palette).
- Uniform - colors are constant and are taken from the FrameStrokeStyle Color property.
- Custom Colors - colors are taken from the color attribute of each vertex.

Hope this helps - let us know if you meet any problems or have any questions.



Best Regards,
Nevron Support Team



joern kunze
Posted 7 Years Ago
View Quick Profile
Junior Member

Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)

Group: Forum Members
Last Active: 5 Months Ago
Posts: 86, Visits: 218
Thanks a lot - basically it works as intended. But For some reason the Dot is not always rectangular (see Dot at (0;0)):
https://www.nevron.com/forum/uploads/images/bdfbe171-77c9-4aae-8657-10ed.bmp
Is there a way to force the shape of the dot to be Rectangular - or even better to look like a round dot ?

Nevron Support
Posted 7 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,034, Visits: 3,710

Hi Joern,
The dot is drawn at the z value of the point - that's why when the size increases you actually get a rectangle some parts of which can be obscured by some of adjacent triangles of the surface.

To work around the problem you can simply draw points in overlay, or wait for the next release which will feature a build in heat map which you can mix with point series in order to achieve the same effect...



Best Regards,
Nevron Support Team



joern kunze
Posted 7 Years Ago
View Quick Profile
Junior Member

Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)

Group: Forum Members
Last Active: 5 Months Ago
Posts: 86, Visits: 218
.. thanks a lot for the explanation - so I will wait for the heat map.

Best regards,
Joern



Similar Topics


Reading This Topic