@shosh,
I would like to put the labels inside the rectangles of the diagram, that is, instead of them being written below each rectangle – they will be written inside it vertically.
You can show text within the bar / next to bar using indexLabels. You can show indexlabel either inside or outside the bar by setting indexLabelPlacement property.
When I enter full data some of the left labels disappear (perhaps because there is no space for them) how can they be shown anyway?
Axis labels are shown at every interval, which is auto-calculated based on parameters like axis minimum, axis maximum, etc. In your case, you can show labels for every datapoints by setting interval: 1
. Please take a look at this updated JSFiddle for working code.
—
Vishwas R
Team CanvasJS