In the document shows these props for subtitle cha...
# gooddata-platform
g
In the document shows these props for subtitle change, but I can't find anything to leave the caption like in the example above, does anyone have any idea if there's a way to do it?
j
Hi Gabriel, you should be looking for y axis configuration for the captions on the left side in the Char config: https://sdk.gooddata.com/gooddata-ui/docs/chart_config.html#configure-axes And if you want to show data values for the individual bars you should be looking for data labels config. https://sdk.gooddata.com/gooddata-ui/docs/chart_config.html#configure-canvases
g
Thankss 🙂
t
Hello @Gabriel Santos, the first example shows a bar chart that uses
viewBy
property, while I assume your example contains one
measure
and uses
viewBy
and
stackBy
at the same time, right? If it is so and you want to see labels next to each bar with the chart being displayed in a single color, then I would suggest to switch from
stackBy
to
viewBy
in the chart definition.
👏 1
g
Thankss, it worked out