labelPosition
Type: String
Parent: Chart.DataSeries()
Default Value: Not Set
Description: Position of the label that appears near to data point drawn on the screen.

labelPosition of DataSeries can be:

  • left (area, line, spline, splineArea)
  • top (column, stackedColumn, stackedColumn100, line, spline, area, splineArea)
  • right (line, spline, area, splineArea)
  • bottom (line, spline, area, splineArea)
  • center (column, stackedColumn, stackedColumn100, line, spline, area, splineArea)
  • inside (column, stackedColumn, stackedColumn100, bar, pie, doughnut)
  • outside (column, stackedColumn, stackedColumn100, bar, pie, doughnut)

Let us checkout the example below:

Working with labelPosition of left


Working with labelPosition of top


Working with labelPosition of right


Working with labelPosition of bottom


Working with labelPosition of center


Working with labelPosition of inside


Working with labelPosition of outside