PDA

View Full Version : [NOREPRO] Changing the position of an y-axis from left to right messes up the line chart



gdlm
13 Nov 2013, 6:50 AM
[Edit] Forget about this!
I made a mistake: I changed the position of the axis (line 51) but NOT of the corresponding series (lines 71 & 86)
@Admin: you can delete this thread...
My apologies.:">

Ext version tested:

Ext JS 4.2.1.883

Browser versions tested against:

FireFox 25
Chrome 30

Description:

When you change the Y-axis position from left to right, you get an Y-axis (values from 0 to 1 only) and no chart at all (since all points lie outside the chart's "reach")

Steps to reproduce the problem:

navigate to the line chart example @ http://try.sencha.com/extjs/4.2.0/docs/Ext.chart.series.Line.1/viewer.html (or https://fiddle.sencha.com/#fiddle/1hv)

The chart you get is: 46818
Navigate to line 51 and replace 'left' by 'right'
Result: an empty chart and a Y-axis from 0 to 1 only:
46819

The result that was expected:

the same chart but with the Y-axis on the right

The result that occurs instead:

an empty chart and a Y-axis from 0 to 1 only

Gary Schlosberg
13 Nov 2013, 8:10 AM
Glad to hear you got it resolved, and thanks for posting the follow-up.