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
|
Hi, Is there already a feature or ways where I can have the legend in my plot to be interactive, as in, if I click a specific item in the legend, it highlights the curve on the plot? Thanks! |
|
|
Hello tulio This is not currently a built in feature but it will be easy for you to still have this functionality in your application. All you need to do is create a legend item style that includes some way for the user to select it such as a checkbox or a toggle button. This control can then two-way bind to the DataSeries.IsSelected property. Then create a custom Legend style that applies the item template, and use this to set the LegendStyle property of all the Charts in your application. Here is a code example that uses a checkbox:
Let me know if you have any questions about this. Jason Fauchelle |
|