Skip to content

Commit d59f9f8

Browse files
othalanksolan
authored andcommitted
Stock logarithmic (#40)
* 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
1 parent 354221f commit d59f9f8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

highcharts/highstock/options.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,11 @@ class yAxisOptions(BaseOptions):
542542
"tickmarkPlacement": basestring,
543543
"title": (Title, dict),
544544
"top": [int, float, basestring],
545+
# DEM 2017/11/16: Note that the 'type' keyword for highstock is
546+
# undocumented yet appears to be supported, likely because of underlying
547+
# shared code. This permits logarithmic Y-Axis scale which is
548+
# frequently useful in stock charts.
549+
"type": basestring,
545550
"units": list
546551
}
547552

0 commit comments

Comments
 (0)