core/chart_output_chartjs

Description:
  • Chart output for chart.js.

Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Chart output for chart.js.

Methods

(protected, inner) getChartType() → {String}

Description:
  • Get the chart type and handles the Chart.js specific chart types.

    By default returns the current chart TYPE value. Also does the handling of specific chart types, for example check if the bar chart should be horizontal and the pie chart should be displayed as a doughnut.

Source:
Returns:

the chart type.

Type
String