Skip to content

Commit

Permalink
Fix chart render option choices
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Ducoudray committed Jan 16, 2017
1 parent 08cd6c7 commit 065205e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Renderer/ChartRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ public function getType()
public static function getChartTypes()
{
return [
self::BAR_CHART => 'Bar chart',
self::LINE_CHART => 'Line chart',
self::RADAR_CHART => 'Radar chart',
self::POLAR_CHART => 'Polar chart',
self::PIE_CHART => 'Pie chart',
self::DOUGHNUT_CHART => 'Doughnut chart',
'Bar chart' => self::BAR_CHART,
'Line chart' => self::LINE_CHART,
'Radar chart' => self::RADAR_CHART,
'Polar chart' => self::POLAR_CHART,
'Pie chart' => self::PIE_CHART,
'Doughnut chart' => self::DOUGHNUT_CHART,
];
}
}

0 comments on commit 065205e

Please sign in to comment.