jQPlot icon indicating copy to clipboard operation
jQPlot copied to clipboard

Y axis ticks positions - Failed to replace them

Open luanbukbe opened this issue 9 years ago • 7 comments

I have in my Y axis following values [0.001, 0.01,0.1,1, 2.5], since the first ranges 0.001 to 0.01 and 0.01 to 0.1 occupy let's say 5% of the height of the Y axis, I would like to change this proportion so that I could view this data in "more details". I've run through many blogs and stuff, found nothing. That's the deal, can somebody help me?

luanbukbe avatar Aug 21 '15 19:08 luanbukbe

You should see at the log axis renderer. here: http://www.jqplot.com/deploy/dist/examples/dateAxisLogAxisZooming.html Using:

axes: { 
  yaxis: {  
     renderer: $.jqplot.LogAxisRenderer
  }
}

svandecappelle avatar Aug 25 '15 15:08 svandecappelle

hi, I have the same problem! So it is that the log does not behave correctly when you have defined ticks "0001, 0:01, 0.1, 1, 2.5," in the case would need to use a breakpoint, but it only accepts one range. As for other intervals? can see an example here. http://jsfiddle.net/israel1989/ya529uxy/17/

israelandra avatar Aug 28 '15 14:08 israelandra

I have the same problema that israelandra is facing svandecappelle

luanbukbe avatar Aug 28 '15 16:08 luanbukbe

Why don't you use the LogAxisRenderer like that: http://jsfiddle.net/h6hbmqst/

Is it the expected render ?

svandecappelle avatar Aug 29 '15 09:08 svandecappelle

Hi, The problem of using so is that I get the same problem quoted above. The lower intervalos are all together, need was to let them separate.

israelandra avatar Aug 29 '15 13:08 israelandra

I really don't understand the problem. Did you import the jqplot.logAxisRenderer.min.js from scripts ? Does my jsFiddle solution show you the correct graph rendering ?

svandecappelle avatar Aug 29 '15 20:08 svandecappelle

the problem is that the ranges of 0.001, 0:01, 0.1 are all together, and I need to leave space between them, so the ideal would be to do the same done with intervals of 1 to 2.5 using breakpoints.

israelandra avatar Aug 29 '15 23:08 israelandra