This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I have a list of datapoint and tooltips and labels for each datapoint. I want the graph to show the tooltips and labels different than the default data point's value. How can I do that? A sample would be helpful. Thanks |
|
|
Hello Gordon The best way to do this is to create a simple class that contains properties to store all the data you need for a single data point. For example you could create a class that has X and Y properties which are double values, then have a ToolTip and Label property which are of type object. Then you populate the ItemsSource collection of a series to be instances of this class. Next, set the XBinding and YBinding properties of the series to point to the appropriate properties on your class. You can create a custom label style to display the contents of the Label property, and set the ToolTip in a custom data point style to get the contents of the ToolTip property. I have attached a sample to make this more clear on another one of your similar forum questions: http://www.mindscapehq.com/forums/thread/291775 Let me know if you need more help with this. -Jason |
|