Skip to content

Commit

Permalink
Stock logarithmic (#40)
Browse files Browse the repository at this point in the history
* Permit type yAxis option used for setting logarithmic scale

* Add comment string noting the reason for adding an undocumented keyword.

* Fix typo in 'type' datatype
  • Loading branch information
othalan authored and ksolan committed Dec 13, 2017
1 parent 354221f commit d59f9f8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions highcharts/highstock/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,11 @@ class yAxisOptions(BaseOptions):
"tickmarkPlacement": basestring,
"title": (Title, dict),
"top": [int, float, basestring],
# DEM 2017/11/16: Note that the 'type' keyword for highstock is
# undocumented yet appears to be supported, likely because of underlying
# shared code. This permits logarithmic Y-Axis scale which is
# frequently useful in stock charts.
"type": basestring,
"units": list
}

Expand Down

0 comments on commit d59f9f8

Please sign in to comment.