Changing Value Label's Font Size, Weight And Rotation
Updated 07-22-2024
Hi SiftHealthcare, are you referring to the 'y' property below?
// Change the y position offset of the labels
series.dataLabels.y = 40;
This property is for the vertical offset of the label relative to the point in pixels. It cannot be set to a percentage.
However, in a bar chart, you likely want to configure the 'x' property instead, which is the horizontal offset of the label relative to the point.
For example, here is how the labels look like with x = 0.
Here is how they look like with x = 40.
Here is how they look like with x = -60.
Let me know if this is helpful.