- $.extend(this, {
- // string - the netdata server URL, without any path
- host: self.data('host') || NETDATA.chartDefaults.host,
-
- // string - the grouping method requested by the user
- method: self.data('method') || NETDATA.chartDefaults.method,
-
- // the time-range requested by the user
- after: self.data('after') || NETDATA.chartDefaults.after,
- before: self.data('before') || NETDATA.chartDefaults.before,
-
- // the pixels per point requested by the user
- pixels_per_point: self.data('pixels-per-point') || 1,
- points: self.data('points') || null,
-
- // the dimensions requested by the user
- dimensions: self.data('dimensions') || null,
-
- // the chart library requested by the user
- library_name: self.data('chart-library') || NETDATA.chartDefaults.library,
- library: null, // object - the chart library used
-
- colors: null,
- colors_assigned: {},
- colors_available: null,
-
- element: element, // the element already created by the user
- element_message: null,
- element_loading: null,
- element_chart: null, // the element with the chart
- element_chart_id: null,
- element_legend: null, // the element with the legend of the chart (if created by us)
- element_legend_id: null,
- element_legend_childs: {
- hidden: null,
- title_date: null,
- title_time: null,
- title_units: null,
- nano: null,
- nano_options: null,
- series: null
- },
-
- chart_url: null, // string - the url to download chart info
- chart: null, // object - the chart as downloaded from the server
-
- validated: false, // boolean - has the chart been validated?
- enabled: true, // boolean - is the chart enabled for refresh?
- paused: false, // boolean - is the chart paused for any reason?
- selected: false, // boolean - is the chart shown a selection?
- debug: false, // boolean - console.log() debug info about this chart