Hi,
You need to add some custom json to the series advanced tab. instead of the markers and lines it will also show the value for Y.
More info, look here: https://plotly.com/javascript/text-and-annotations/
and here (2.1.1 – 7): https://docs.mendix.com/refguide/charts-configuration#advanced-mode
{
“mode”: “lines+markers+text”
}
Hi,
Forgot to mention, you also need to provide a texttemplate attribute to the JSON. So f.e.:
"texttemplate": "%{y}", → will show the value for Y.
You can also use “textposition” for text placement, use one of ( "top left" | "top center" | "top right" | "middle left" | "middle center" | "middle right" | "bottom left" | "bottom center" | "bottom right" )
You only have to place this json on the series item advanced options, not on layout of configuration options. Also set mode to advanced or developer.
So f.e.:
{
“mode”: “lines+markers+text”,
"texttemplate": "%{y}",
“textposition”: “top center”
}
Thank you for your answer and I have one more question.
I made change to the advanced option for each series and chart as below, but it does not make any change to the displayed chart.
Can you please correct what I have done?