Home » U++ Library support » ScatterDraw & ScatterCtrl » Ideas: Grid lines at "round" dates or values. More options for tooltip.
Ideas: Grid lines at "round" dates or values. More options for tooltip. [message #51787] |
Thu, 30 May 2019 12:07 |
Maginor
Messages: 44 Registered: May 2019
|
Member |
|
|
Hi,
I have come across a few things that I think could be improved for scientific plotting. I respect that this project is done on people's free time, I am just throwing in some ideas that are of course just my opinion.
I have a graph of daily values. I can use grid unit formatting to get the X axis to display the dates just fine. However, my problem is that the grid lines show up at fairly "random" places. For instance, if I zoom out far enough, I want the grid lines to be at Jan. 1st of every year, but if I zoom in more, I want them to be at the 1st of each month etc (whatever more closely fits the desired amount of grid lines). There could also be some steps in between such as showing a line each half year or each quarter year when appropriate.
This is a graph that the user can freely zoom around in, so it has to be able to update this dynamically.
There does not seem to be any native support for this, and the only way I can see to set the grid lines is by setting their beginning, spacing and count. This will not work for this purpose since Jan. 1st of each year is not equally spaced because of leap years, and similarly months are not equally spaced.
Moreover, I sometimes have data series of just monthly or yearly values, and in those cases I would like the grid lines (of the X axis) to be only where there are data points, never in between.
Another thing I am looking for is that I would like to tell the plot to try to snap grid lines to round values as a default. I.e. I want lines at (0.25, 0.5, 1, 1.25, 1.5, 1.75) rather than (0.05, 0.67, 1.3, 1.92) even if my Y axis happens to range from (0.05 to 1.92). This is something I can do myself just by doing some computations, so it is not a big deal, but it would be nice to have it as an option.
Another thing (Sorry!!):
The tooltip (SHOW_INFO action) in ScatterCtrl shows the x and y position of the cursor. I would like an option for it to show the y value of the graph at that x point (i.e. show (x, f(x)) rather than (x, y)).
If there are multiple graphs, I'm not sure how that should be handled, but maybe either show a list of the values of all the graphs or just show the value of the closest graph to the cursor.
If it is a scatter plot rather than a continuous line plot, it would maybe be good to show the value of the closest point on the graph. Similarly, for bar plots it would be good to show the values of the closest bar.
Again, I am very thankful that this library exists at all. I am just throwing in some ideas.
[Updated on: Thu, 30 May 2019 12:12] Report message to a moderator
|
|
|
|
|
Ideas: Grid lines at "round" dates or values. More options for tooltip.
By: Maginor on Thu, 30 May 2019 12:07
|
|
|
Re: Ideas: Grid lines at "round" dates or values. More options for tooltip.
By: koldo on Thu, 30 May 2019 16:44
|
|
|
Re: Ideas: Grid lines at "round" dates or values. More options for tooltip.
By: Maginor on Mon, 12 August 2019 16:11
|
|
|
Re: Ideas: Grid lines at "round" dates or values. More options for tooltip.
By: koldo on Tue, 13 August 2019 21:45
|
|
|
Re: Ideas: Grid lines at "round" dates or values. More options for tooltip.
By: Maginor on Wed, 14 August 2019 09:38
|
|
|
Re: Ideas: Grid lines at "round" dates or values. More options for tooltip.
By: koldo on Thu, 15 August 2019 20:00
|
|
|
Re: Ideas: Grid lines at "round" dates or values. More options for tooltip.
By: Maginor on Fri, 16 August 2019 09:32
|
|
|
Re: Ideas: Grid lines at "round" dates or values. More options for tooltip.
By: Maginor on Fri, 16 August 2019 11:35
|
|
|
Re: Ideas: Grid lines at "round" dates or values. More options for tooltip.
By: Maginor on Fri, 16 August 2019 12:21
|
|
|
Re: Ideas: Grid lines at "round" dates or values. More options for tooltip.
By: koldo on Sat, 17 August 2019 22:53
|
|
|
Re: Ideas: Grid lines at "round" dates or values. More options for tooltip.
By: Maginor on Mon, 19 August 2019 10:21
|
|
|
Re: Ideas: Grid lines at "round" dates or values. More options for tooltip.
By: koldo on Tue, 20 August 2019 08:00
|
|
|
Re: Ideas: Grid lines at "round" dates or values. More options for tooltip.
By: Maginor on Tue, 20 August 2019 10:31
|
|
|
Re: Ideas: Grid lines at "round" dates or values. More options for tooltip.
By: koldo on Wed, 21 August 2019 08:01
|
|
|
Re: Ideas: Grid lines at "round" dates or values. More options for tooltip.
By: deep on Fri, 23 August 2019 20:43
|
|
|
Re: Ideas: Grid lines at "round" dates or values. More options for tooltip.
By: Didier on Sat, 31 August 2019 12:49
|
|
|
Re: Ideas: Grid lines at "round" dates or values. More options for tooltip.
By: Maginor on Tue, 03 September 2019 11:17
|
|
|
Re: Ideas: Grid lines at "round" dates or values. More options for tooltip.
By: Didier on Tue, 03 September 2019 20:02
|
|
|
Re: Ideas: Grid lines at "round" dates or values. More options for tooltip.
By: Pradip on Tue, 28 April 2020 09:03
|
|
|
Re: Ideas: Grid lines at "round" dates or values. More options for tooltip.
By: Didier on Fri, 01 May 2020 11:33
|
|
|
Re: Ideas: Grid lines at "round" dates or values. More options for tooltip.
By: Pradip on Fri, 01 May 2020 12:02
|
|
|
Re: Ideas: Grid lines at "round" dates or values. More options for tooltip.
By: Didier on Fri, 01 May 2020 12:21
|
|
|
Re: Ideas: Grid lines at "round" dates or values. More options for tooltip.
By: Pradip on Fri, 01 May 2020 12:57
|
Goto Forum:
Current Time: Mon Jun 03 23:08:38 CEST 2024
Total time taken to generate the page: 0.02649 seconds
|