PDA

View Full Version : Category axes type rendering issue with line charts



usavahe
21 Jul 2014, 10:37 AM
Ok it is pretty simple.

Whenever I use line chart with x axis as category, my chart always starts from the origin. WHY?

49718

Why it is not rendering just like in column chart case?

49717

How can I force the chart not to start from the origin? :-?

scottmartin
30 Jul 2014, 7:08 PM
The bar chart set the tick in the center of the bar, where this is not the case for a line chart. Can you insert a 0 in your data to create the gap?

usavahe
31 Jul 2014, 7:55 AM
The issue appears when I try to use column with line. Line starts from the origin whereas column not. So the axis show like if would for the line, but it appears shifted now for the column

scottmartin
31 Jul 2014, 9:04 AM
Please provide a working test case with your setup/data so we can have a look.

You can use our fiddle: ( use json data )
https://fiddle.sencha.com/#home