-
Notifications
You must be signed in to change notification settings - Fork 61
Description
Content
- Content overflow should be effectively hidden on both sides. Candles at the edges should have their overflowing halves hidden.
Value (Y) axis
-
The value axis is typically placed on the right side of the chart. Currently, changing the call in
OHLCtoAxis.new_right_axis/1makes it lose the value labels or show them only partially (the amounts getting clipped) - this should be fixed. -
There should be a way to configure the value label frequency. A typical setting is one in three lines.
Time (X) axis
-
There needs to be a fixed spacing format (in pixels) so the bars/candles do not stretch from left to right but only occupy the space demanded by their spacing and width. Any remaining empty room on the right should be kept as such (empty) while the X axis should show the time 'ticks' from edge to edge uninterrupted nevertheless.
I added the spacing property as part of the zoom levels, but it takes propagating it to rendering the content (and possibly the time axis). -
The axis should support time formatting (e.g. may introduce a dependence on the CLDR DateTime library). In any case, charts showing days and higher timeframes need to show the full date (either mm/dd/yyyy or dd/mm/yyyy) while the intraday charts (less than D1) should show time as dd/mm hh:mm or any localized variation thereof.
-
The time (tick?) label occurrence should be quite dense (with a character or two of whitespace between the labels).