You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 600fcfa
Browse filesBrowse the repository at this point in the historyBrowse files
The same change BarSeries had, for the four charts that draw bars:
HistogramChart.barRadius, RMultipleChart.barRadius,
WaterfallChart.barRadius and TradeTimelineChart.barRadius are each a
BorderRadius rather than a double, so a caller picks the corners instead
of getting whichever end the painter decided to round.
roundedBox in corner_radius.dart is the one place that reads the radii as
they are drawn and scales them down together when they do not fit;
seriesBarBox now delegates to it.
The default of each keeps the shape it drew before — top corners on the
histogram and R-multiple bars, all four on the waterfall and the timeline.
A trade that is still open keeps its square right edge whatever the radius
says, since that is the chart saying the bar has not ended.
0 commit comments