Opened 7 years ago

Last modified 2 years ago

#15477 assigned enhancement

[patch][cla] Chart: Bars/Columns width

Reported by: Mathevet julien Owned by: dylan
Priority: undecided Milestone: 1.15
Component: Charting Version:
Keywords: Cc:
Blocked By: Blocking:

Description

Now, bar/columns accept x,y value for series. But bar width is compute depending on scale. In some case, specially on periodic values (eg: a point every 5 "x") bar are small even if it could take around 5 x larger

I add a test case.

I will submit patch later. My code need cleaning. And it also include other submitted patch. If you interested to put in 1.8 I will do quicker.

Attachments (2)

test_barWidth.html (13.1 KB) - added by Mathevet julien 7 years ago.
patchBarWidth.diff (12.8 KB) - added by Mathevet julien 6 years ago.

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by Mathevet julien

Attachment: test_barWidth.html added

Changed 6 years ago by Mathevet julien

Attachment: patchBarWidth.diff added

comment:1 Changed 6 years ago by Mathevet julien

Bar are truncated around min/max of scale. There is a workaround to adjust axes.

I haven't fixed yet, becase there induces problems with RangeSlider on zoom. Bar width is dynamically computed. and if it increase stats due to bar width scale doesn't match with zoom.

comment:2 Changed 6 years ago by cjolif

Type: defectenhancement

comment:3 Changed 3 years ago by dylan

Milestone: tbd1.12
Owner: changed from Eugene Lazutkin to dylan
Status: newassigned

Will consider for 1.12.

comment:4 Changed 2 years ago by dylan

Milestone: 1.131.15

Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.

Note: See TracTickets for help on using tickets.