core/chart_output_chartjs

Chart output for chart.js.

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

Methods

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

Source:

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.

Returns:

the chart type.

Type
String