I am using a time series scatter chart with multiple series. How Do I get the legend to show a name and the color for each of the series in the graph? I have enabled the legend to show at the bottom, changing the legend.dataassociation does not seem to have any effect.
Hello wltaylor,
I made small sample for you where I`m using ScatterChart (you could use option ConnectedWithLInes = true / false) with desired behavior of the legend. Please take a look at the attached sample for more details and let me know if you have any questions.
Regards
Here is the sample:
Hi,
If you still have any concerns or questions I will be glad to help. If you need any additional assistance don’t hesitate to ask.
Thanks for your response.
About your question, maybe you have two possible options:
Option 1: You could achieve this behavior with composite chart where you will use Layer with ScatterChart and another Layer with LineChart ( to connect your MIn and Max values)
Option 2: You could used only ScatterChart, but in this approach your should handle FillSceneGraph event and drawn your custom Primitive (of type Line Primitive)
Please let me know if you have any questions.
Georgi,
Thanks, the Series.Label property was exactly what was needed. For my next trick... The data that I am plotting has suggested max and min values. How can I plot a line across the chart at the points that of the Max and Min value(s)?
Hello,
Have you been able to resolve your issue ? Did you have a time to take a look at the new sample .
HI,
Thanks for provided details. Could you please take a look at the new sample. I suppose that you miss to add Labels to each of your series. Please take a look at the sample for more details and let me know if you have any questions.