Menu

Graph zooming and axis labeling

2015-09-23
2015-09-25
  • Ralf Mueller

    Ralf Mueller - 2015-09-23

    Hi,

    in respect to my formerly written topic "Date/Time data type and representation in graphs" I found the following issues setting up a graph with x-axis values as date/time (string) and y-axis as numbers

    1) when I zoom into the graph --> the labeling of the y-axis is shown, but the labeling of the x-axis dissapears while the tick marks are there; it works with a true "number" x-axis, but obvious not with "date/time" (string) x-axis

    2) the intervals for zoomed axis are some crude distances with lots of figures behind the decimal point - is there any setting option to make the grid and labels to show more conveniently readable numbers?

    3) I used the "offset" parameter for chart_axis_y-axis_intervall to not show the lower axis-labels (i.e. I set the "scale" from -100 to 100 and used intervall_offset=100 to not show the axis-labels from -100 to 0 but to show 0 to 100 from midrange to top of the y-axis); so far so good; but when I zoom into the graph this interval_offset parameter is misinterpreted: if i.e. my zoomed y-axis range is -20 to 100 --> due to the interval_offset 100 the labels from 80 to 100 are shown, I would have expected to show 0 to 100; but maybe I have a wrong idea of interval_offset parameter, and what I have in mind could not be done in dbplot

    Again, any hints are highly appreciated

    Regards
    Ralf

     
  • DBPlot

    DBPlot - 2015-09-24

    Ralf,

    1 and 2 are known issues. I will try to address it as soon as I can.

    For 3, The interval_offset is the offset from the normal/auto points. For example, your Y axis is labeled -100,-50,0,50,100. If the intervalL_offset is 10 then the labels on Y axis should be -90,-40,10,60. Those new labels are calculated by + interval_offset to the normal labels.

    For what you are trying to do, have you tried to set the Minimum and Maximum values for the Y axis?

    Pete

     
  • Ralf Mueller

    Ralf Mueller - 2015-09-24

    Hello Pete,

    thanx for responding, glad that this forum is still alive :-))

    Well, what I'm trying to do is to position my values of the right-hand y-axis within the upper half of the graph. That's why I set minimum and maximum i.e. -100 and 100, so that the "0" baseline is somewhat in the middle high region. My real values all are >=0. So I don't need grids, tick marks and labels below "0". With the "intervall offset" I tried to "out blend" them. Maybe I should use "Labels_LabelStyle_IntervallOffset" instead - or it could not be done anyway.

    Regards
    Ralf

     
  • DBPlot

    DBPlot - 2015-09-25

    Ralf,

    I see what you are trying to do.Unfortunately at this moment, DBPlot could not do what you want.

    I don't know why you would want to do that though. COuld you elaborate your use case? I hope I would add the function to the tool if people want to do similar thing.

    Pete

     
  • Ralf Mueller

    Ralf Mueller - 2015-09-25

    Hi Pete,

    it's pretty much simple: I have two differrent ranged measurement values to show in the graph, that's why I use lefthand and right hand y-axis. Then I played with the minimum and maximum settings for this axis so that I get all the values of the left hand y-axis in the lower half of the graph and all the values of the right hand y-axis in the upper half of the graph area, just for the reason to not mix up to much series-lines. By this tweak the right-hand y-axis labels below i.e. "0" together with its grid lines and tick marks are of no use but disturbing for the values of the left-hand y-axis.

    It is only for convenience - more critical to me are the first two mentioned issues of my first comment.

    Regards and thanx for your help
    Ralf

     
  • DBPlot

    DBPlot - 2015-09-25

    Ralf,

    THanks for the explaination. Hope I could fix the issues you mentioned.

    Pete

     
  • Ralf Mueller

    Ralf Mueller - 2015-09-25

    Very appreciated Pete - thanx a lot!

    Ralf

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.