Repository navigation
v2.16.0
Chart
- The price axis as wide as the indicator panes need (
@tradecanvas/chart,@tradecanvas/core): the panes share the price pane's axis, which was sized to the prices alone, so a pane of millions (a CVD at -1,766,028.9) had its last value's tag cut and the tick under it hidden. The axis now fits the panes' scale labels and, when they are shown, their tags, and refits when the tags are turned on or off.
Finance charts
- An equity curve's level tags and names kept clear (
@tradecanvas/chart): the tags of levels too close for both at the axis move apart instead of one covering the other (the lowest levels' are left out when there is no room for them all), a level'slabelAt: 'start'writes its name at the line's left end, away from the curve's latest point, and names in the plot keep clear of each other.
Widget
-
The phone's drawing button clear of the indicator panes (
@tradecanvas/chart): it sits at the bottom of the price pane, where it sat over the lowest indicator pane's first bars and legend, and moves as panes come, go or are resized. -
Prices in the symbol search (
@tradecanvas/chart,@tradecanvas/commons): a symbol'slastprice and day'schangePercent, given with the symbols or in a search's results, show in two columns at the end of its row when any row listed has one, the change in the up or down colour; the widget fetches none. On a phone the exchange goes under the ticker, where a long one (SIMULATED, ALL VENUES) was cut short in a column of its own. -
A new default look, Modern (
@tradecanvas/chart,@tradecanvas/commons): the widget opens as a code editor's window, in its Dark Modern and Light Modern colours: the chart on the editor's ground (#1f1f1f/#ffffff) with the bars around it a shade off it, 16 px icons in 28 px buttons on a 38 px toolbar, corners of 4, 6 and 8 px, the logo's amber for buttons, links, focus and a chosen tool, and candles in teal (#089981) and red (#f23645). Without a theme object the chart takesMODERN_DARK_THEME/MODERN_LIGHT_THEME, which a chart of your own can use too. To keep the widget as it was, passui: 'print', orpreset: 'print'in auiobject (one without a preset now starts from Modern): the look, the colours and the candles come back, and the other looks keep those colours as well. A chart without the widget is unchanged. -
The widget's Vietnamese strings, reworded (
@tradecanvas/chart): thevitable is translated again from the English as plain technical Vietnamese, keeping the trading and chart terms Vietnamese traders use in English (position, order, bracket, crosshair, pane and the like). Every key and placeholder is the same; a label your page overrides withmessagesis not changed.