How to add label to bar chart?

1
Hello, Is it possible to add labels to bar chart (above or on the bar) instead of having to view them on hover? So far I could add "text” parameter to the modeler, however, it requires hard-coded data which I don't want. Can I transfer the hover data to the label?
asked
3 answers
2

Result (direct label):

 

 

Where to configure:

1. use the “texttemplate”: “%{y}”

answered
0

As far as I know this is not possible with the Mendix plotly graph out of the box.

An alternative for this would be using the any chart widget: https://docs.mendix.com/refguide/charts-any-configuration

answered
0

Hi 

 

Just found a solution

You can use Tooltip form in Events section of Series. 

You need to select Page to show as a tooltip. You can also put Data View inside the page to get information of you data point and use it inside the page. 

 

Regards,

Anahit

answered