Hi,
I use a xGraph to plot a lot of data against time and date. Generally trying to put times and dates together on each x axis tick is clumsy, complicated and often results in an illegible x axis.
What I normally do is have a label field with the start date/time string on the left hand x axis start point and a label with the end date/time on the right hand side of the x Axis. I then display the cursor value and convert it to a date/time string based on the index of the cursor and put that in a label positioned in the centre of the x axis. Sadly there doesn't seem to be a way of getting the x and y of the cursor values in xGraph at present. I wonder whether this feature could be added. Clicking on the chart's data area would generate the cursor as it does now, but it would also generate events on the click and cursor movement and capture the x y values.
What would be even cooler is that if you report which mouse key was used left/right so that differential values could be captured and displayed. Releasing the mouse button would of course turn off the mouse movement events.
Having such a function call back would open up a lot of possibilities for interacting with the graph.
I have attached a screen shot of one of my projects showing what I am getting at.
Best regards
Rob
I use a xGraph to plot a lot of data against time and date. Generally trying to put times and dates together on each x axis tick is clumsy, complicated and often results in an illegible x axis.
What I normally do is have a label field with the start date/time string on the left hand x axis start point and a label with the end date/time on the right hand side of the x Axis. I then display the cursor value and convert it to a date/time string based on the index of the cursor and put that in a label positioned in the centre of the x axis. Sadly there doesn't seem to be a way of getting the x and y of the cursor values in xGraph at present. I wonder whether this feature could be added. Clicking on the chart's data area would generate the cursor as it does now, but it would also generate events on the click and cursor movement and capture the x y values.
What would be even cooler is that if you report which mouse key was used left/right so that differential values could be captured and displayed. Releasing the mouse button would of course turn off the mouse movement events.
Having such a function call back would open up a lot of possibilities for interacting with the graph.
I have attached a screen shot of one of my projects showing what I am getting at.
Best regards
Rob