Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug fix in graph class with bullet type

  • Loading branch information...
commit 132ae9210005437b24b30b2bd14c854efef22ccf 1 parent f1bc9f0
@neeckeloo authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/lib/AmCharts/Graph/AbstractGraph.php
View
5 src/lib/AmCharts/Graph/AbstractGraph.php
@@ -328,8 +328,9 @@ public function toArray()
$options += $this->fields()->toArray();
$bulletOptions = $this->bullet()->toArray();
- if (isset($bulletOptions['type'])) {
- $bulletOptions['bullet'] = $bulletOptions['type'];
+ if (isset($bulletOptions['bulletType'])) {
+ $bulletOptions['bullet'] = $bulletOptions['bulletType'];
+ unset($bulletOptions['bulletType']);
}
$options += $bulletOptions;
Please sign in to comment.
Something went wrong with that request. Please try again.