Saturday, 15 May 2010

c# - Windows Forms DataPoint: Is it possible to set an image as a DataPoints background directly without having to write it to a file first? -



c# - Windows Forms DataPoint: Is it possible to set an image as a DataPoints background directly without having to write it to a file first? -

the forms datapoint class contains property setting path image used background datapoint. obtain image internal symbol provider , seems wasteful have write image file before using it. looked @ deriving datapoint there doesn't seem relevant can override. suggestions setting datapoint background image directly?

it turns out base of operations chart class has images property, can populated images without needing write them file first.

the images can set markerimage property of datapoint.

http://msdn.microsoft.com/en-us/library/system.windows.forms.datavisualization.charting.chart.images%28v=vs.110%29.aspx

c# winforms data-visualization mschart

No comments:

Post a Comment