This project is read-only.

Showing markers on ViewportPolygon

Oct 3, 2009 at 9:49 PM

Hi,

Is it possible to show markers on ViewportPolygon? As much as I've seen from the samples the markers could only be specified when using ChartPlotter.AddLineGraph().

Thanks in advance

Oct 14, 2009 at 3:44 PM

Hi,

what do you mean saying 'to show markers on ViewportPolygon'? Do you need a marker placed at each point of such polygon? You can try to use the newer version of markers, which is situated in DynamicDataDisplay.Markers.dll and has samples in NewMarkersSample project at DevSamples folder.

You'll need to create a DevMarkerChart, set its MarkerBuilder property to an instance of MarkerBuilder (this is a thing that describes how markers are looking), for example, an EllipseMarker of CrossMarker or something custom build from WPF's template, and that assign your data (e.g., a collection of points - positions of each marker) to its ItemsSource property.

 

Do not hesitate to ask more questions.

Regards,

Mikhail.