Type definition for selector of bar chart coordinate system.
Here, coordinates are described with a combination of "category index" and "value".
For example, { iCategory: 0, value: 10 } describes the coordinate at 10 along Value Axis and the center of the first category bar.
By using translateCoordinate method, client coordinates can be translated to other coordinate systems and vice versa.
For example, in order to:
Position LCJS UI elements in relative to Bar locations.
Find client coordinate relative to a Bar, for example to position external HTML content above them.
etc.
Users should not need to reference this type directly.
Instead, the convenience selector coordsBars should be used.
Type definition for selector of bar chart coordinate system.
Here, coordinates are described with a combination of "category index" and "value". For example,
{ iCategory: 0, value: 10 }describes the coordinate at10along Value Axis and the center of the first category bar.By using translateCoordinate method, client coordinates can be translated to other coordinate systems and vice versa. For example, in order to:
Users should not need to reference this type directly. Instead, the convenience selector coordsBars should be used.