ProtectedallA list of all the data groups that have existed within the lifetime of the chart
ProtectedcolorProtectedcolorProtectedservicesProtectedstateProtectedassignProtectedgenerateOptionalproperty: stringOptionalgroups: anyOptionalgroups: anyOptionalgroups: anyOptionalgroups: anyOptionalgroups: anyCharts that have group configs passed into them, only want to retrieve the display data relevant to that chart
Optionalgroups: anythe included datasets for the particular chart
string
Optionalgroups: anyShould the data point be filled?
Optionalkey: anyOptionaldata: anyOptionaldefaultFilled: booleanthe default for this chart
Generates a matrix (If doesn't exist) and returns it
Object
Converts Object matrix into a single array
object[]
Retrieves the current options from the instance's state.
For charts that might hold an associated status for their dataset
Optionalkey: anyOptionaldata: anyProtectedgetGenerate tabular data from display data
Array
Generate a list of all unique domains
String[]
Generates a list of all unique ranges
String[]
Get min and maximum value of the display data
Array consisting of smallest and largest values in data
ProtectedsanitizeProtectedsanitizeOptionalconfigs: anyProtectedsetProtectedsetSets the data for the current instance.
This method sanitizes the provided data, generates data groups,
and updates the instance's state with the sanitized data and data groups.
It also resets the _domains, _ranges, and _matrix attributes to their empty states.
The new data to be set. This data will be cloned and sanitized.
Updates the current options for the instance.
This method retrieves the existing options, updates the legend additional items, and merges the new options with the existing ones. The instance's state is then updated with the merged options.
The new options to be set. These options will be merged with the existing options.
Sets the zoom bar data for the current instance.
This method sanitizes the provided zoom bar data or uses the display data if no explicit zoom data is provided. It normalizes the zoom bar data by aggregating values based on unique dates and updates the instance's state with the normalized data.
OptionalnewZoomBarData: anyThe new zoom bar data to be set. If not provided, the display data will be used.
ProtectedtransformUpdates miscellanous information within the model such as the color scales, or the legend data labels
Protectedupdate
The gauge chart model layer