Opened 11 years ago
Closed 11 years ago
#10388 closed enhancement (invalid)
control of bar/column width in chart2d
Reported by: | anishkumar | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | 1.5 |
Component: | Charting | Version: | 1.4.0b |
Keywords: | dojox charting chart2d | Cc: | |
Blocked By: | Blocking: |
Description
I am aware of using "gap" attribute to control the spacing of the bar / column charts. It would be great to have option of having fixed width for bar/column in charts.
Change History (7)
comment:1 Changed 11 years ago by
Component: | General → Charting |
---|---|
Owner: | changed from anonymous to Eugene Lazutkin |
comment:2 Changed 11 years ago by
comment:3 Changed 11 years ago by
Milestone: | tbd → 1.5 |
---|---|
Status: | new → assigned |
comment:4 Changed 11 years ago by
Actually there is a parameter for that, yet the code is missing:
maxBarSize: 1, // maximal bar size in pixels
It probably should be renamed and used in the calculations.
comment:5 Changed 11 years ago by
And the code in there and fully implemented in plot2d/common.js
as of #8067.
Just use minBarSize
to specify the minimal width for columns/candlesticks (the minimal height for bars), and maxBarSize
for to specify the maximal width (height).
I need to document it better.
comment:7 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
Added documentation on http://docs.dojocampus.org/dojox/charting
+1