Change Dot Size for TriangulatedSurfaceChart


https://www.nevron.com/Forum/Topic8880.aspx
Print Topic | Close Window

By joern kunze - 9 Years Ago
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
By Nevron Support - 9 Years Ago

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.

By joern kunze - 9 Years Ago
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 ?
By Nevron Support - 9 Years Ago

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...

By joern kunze - 9 Years Ago
.. thanks a lot for the explanation - so I will wait for the heat map.

Best regards,
Joern