Opened 10 years ago

Closed 10 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 10 years ago by bill

Component: GeneralCharting
Owner: changed from anonymous to Eugene Lazutkin

comment:2 Changed 10 years ago by Les

+1

comment:3 Changed 10 years ago by Eugene Lazutkin

Milestone: tbd1.5
Status: newassigned

comment:4 Changed 10 years ago by Eugene Lazutkin

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 10 years ago by Eugene Lazutkin

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:6 Changed 10 years ago by Eugene Lazutkin

(In [21888]) Updating comments, !strict, refs #10388.

comment:7 Changed 10 years ago by Eugene Lazutkin

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.