Targets object
Represents all colors objects associated with the target range of a (Live) LineChart object.
This example shows how to read the number of colors associated with a target range, and writes it to the Console window:
Console.Writeln(LineChart.Targets.Colors.Count)
Item(Value as NameOrIndex)
Read only: Count as Number