Skip to content

Commit

Permalink
Fix cannot specify xtype or ytype as root options
Browse files Browse the repository at this point in the history
xtype and ytype already read on options builder
but not allowed as root options.
  • Loading branch information
styd committed Aug 24, 2019
1 parent 7e85da9 commit db74193
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ All notable changes to this project will be documented in this file.

### Fixed
- HTML+ERB wrong and ambiguous instruction
- Cannot specify xtype or ytype as root options


## [0.1.5] - 2019-07-20
Expand Down
2 changes: 2 additions & 0 deletions lib/apexcharts/options/root.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ class RootOptions < ::SmartKv
var
xaxis
xtitle
xtype
yaxis
ytitle
ytype
],
*DivAttributes.optional_keys,
*ChartOptions.optional_keys,
Expand Down

0 comments on commit db74193

Please sign in to comment.