This demo shows how you can customize individual points and labels in the Chart component.
Use the customizePoint function to change the appearance of individual series points. This function should return an object with properties that you want to change in a point configuration. This demo uses this function to color all points with values above the "High Average" in red, and points with values below the "Low Average" in blue.
To customize the appearance of individual point labels, implement the customizeLabel function. This function should also return an object with properties that need to be changed for a certain label. This demo specifies custom labels for the red points.
To create constant lines, follow the steps below:
Specify the constantLines object. In this object, declare an object for each line with the properties you want to change.
Note that it's necessary to specify the value property for the line to display correctly.