Opened 10 years ago

Closed 10 years ago

#15488 closed defect (invalid)

dojox charting - Spider chart axis' label position

Reported by: Martin Repta Owned by: Eugene Lazutkin
Priority: undecided Milestone: tbd
Component: Charting Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:


Hello, as you can see on attached file, axis' label positioning has some bug with calculating coordinates.

Sometimes it cause collision with axis.

both of charts has labelOffset set to -10.

first chart demonstrates how it looks with startAngle: -90 Sales label is quite far in comparision with other labels

second chart demonstrates how it looks with startAngle: -45 Administration label collides with axis.

Can anyone suggest, how to fix it or provide patch?

Thank you!

Attachments (1)

spider.jpg (48.5 KB) - added by Martin Repta 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by Martin Repta

Attachment: spider.jpg added

comment:1 Changed 10 years ago by cjolif

can you please attached as simple example that does reproduce the issue? Thanks.

comment:2 Changed 10 years ago by Martin Repta

Sample can be found here:

comment:3 Changed 10 years ago by cjolif

Resolution: invalid
Status: newclosed

I agree this is not ideal and that the chart should have a better labeling algorithm but I think for now you have a solution solution which is to increase your labelOffset (or more exactly decrease it).

For example if you put labelOffset: -30 you don't have collapse anymore. So I don't think this is a bug. This works as expected even if I agree the expectation is quite low.

I encourage your to enter an enhancement request if you want a better labeling algorithm. If labelOffset does not solve the axis collision please re-open this one with even more details.

Note: See TracTickets for help on using tickets.