Oxyplot ScatterPoint custom Label

為{幸葍}努か 提交于 2019-12-07 20:29:56

问题


is it possible to write a custom string instead of the x and y position over a ScatterPoint? I searched in the documentation and Google but sadly didn't find anything. :/


回答1:


Yes it is my friend!

If you want the custom string to be the same for all points in the series, simply edit the TrackerFormatString. The TrackerFormatString is in the series object.

If you want each point to have a separate string, add the tag to the custom string like so:

seriesToAdd.TrackerFormatString = seriesToAdd.TrackerFormatString + "{Tag}";

You can then edit the tag for each point in the series.

Hope this helps!



来源:https://stackoverflow.com/questions/29497280/oxyplot-scatterpoint-custom-label

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!