Chart - Display Value in Column

0
I am experimenting with the Chart widget and have questions about formatting.  In the following column chart: I would like to display the x axis labels at a 45 degree angle.  I would also like to display the numeric values of each bar inside of the bar. I’ve tried several configuration options without success.  Are there any Chart experts who can give me some pointers?
asked
1 answers
1

For the angled x-axis labels you can add the following option to your layout JSON:

"xaxis": {
    "tickangle": -45
}

And for the data labels, you need to pass the values separately in an array to the text parameter in the data JSON:

"text": ["15", "23", "27"],
"textposition": "auto"

 

answered