Opened 11 years ago

Closed 10 years ago

#12009 closed enhancement (fixed)

add option for dojox.charting to remove the 4 'border' rects around plot region

Reported by: Karl Tiedt Owned by: Eugene Lazutkin
Priority: high Milestone: 1.8
Component: Charting Version: 1.5
Keywords: dojox.charting charting Cc:
Blocked By: Blocking:


Currently if you render a chart w/o axes there is ~10px 'margin' around the plot region, it would be nice to be able to disable them and have 'full view' charts

opened per Eugene's request

Change History (3)

comment:1 Changed 11 years ago by Adam Peller

Owner: changed from uhop to Eugene Lazutkin

comment:2 Changed 11 years ago by Eugene Lazutkin

Milestone: tbdfuture
Status: newassigned

comment:3 Changed 10 years ago by cjolif

Milestone: future1.8
Resolution: fixed
Status: assignedclosed

I'm not sure in 1.5 but in trunk/1.8 you can do:

var chart4 = new dojox.charting.Chart("test4",   { margins: {
           l: 0, r: 0, t: 0, b: 0 }}).

this will remove that margin.

Note: See TracTickets for help on using tickets.