Skip to main content

How to: Draw a Custom Function in the 2D Scatter Line Chart

This example demonstrates how to draw an Archimedian Spiral function in the 2D Scatter Line chart. To do this, it is necessary to add a LineScatterSeries2D object to the diagram's Diagram.Series collection and then programmatically add series points to it.

For more information, see the CreateArchimedianSpiralPoints method's implementation below.