It is currently 21 April 2025, 13:48 Advanced search

More Graph Issues - data sort differences Form and Report.

Questions and answers on how to best use Instant Developer

More Graph Issues - data sort differences Form and Report.

Postby john w » 20 February 2024, 16:37

Here is an image of a chart on the form.

image.png
image.png (13.64 KiB) Viewed 2976 times


Here is an image of the same data in a report.

unnamed.png
unnamed.png (20.51 KiB) Viewed 2976 times



The data on the report has Group Two first and is not like the form which has Group One first. They run agains the same data. Is there was way to insure Group One is at the top of the chart in the report version?
Regards

John W
User avatar
john w
 
Posts: 834
Joined: 24 October 2012, 16:29
Location: Apple Valley, Minnesota USA

Re: More Graph Issues - data sort differences Form and Repor

Postby ljwilson » 20 February 2024, 17:26

I would run it through the debugger and see what sql is being generated for each--could be there is a differnet (or missing) order clause happening for some reason.

...jack
ljwilson
 
Posts: 783
Joined: 26 November 2013, 14:15

Re: More Graph Issues - data sort differences Form and Repor

Postby john w » 20 February 2024, 18:30

The data is in IMDB files, I have not found a way to add an Order By statement to their query format. If someone knows how it is done, please let me know.
Regards

John W
User avatar
john w
 
Posts: 834
Joined: 24 October 2012, 16:29
Location: Apple Valley, Minnesota USA

Re: More Graph Issues - data sort differences Form and Repor

Postby ljwilson » 20 February 2024, 20:35

Same as a normal db. Right-click on a field in the select you want to order by, and select Order By. Of course it has to have more than one row defined in the IMDB table for the Order By to show.
2024-02-20_15-33-42.png
2024-02-20_15-33-42.png (43.65 KiB) Viewed 2959 times


...jack
ljwilson
 
Posts: 783
Joined: 26 November 2013, 14:15

Re: More Graph Issues - data sort differences Form and Repor

Postby john w » 21 February 2024, 21:47

I just tried the Order By and that does not resolve the issue. Same output data is reversed.
Regards

John W
User avatar
john w
 
Posts: 834
Joined: 24 October 2012, 16:29
Location: Apple Valley, Minnesota USA

Re: More Graph Issues - data sort differences Form and Repor

Postby d.pierangeli » 23 February 2024, 11:40

I think that the data are passed to the library in the same order, but a library renders them bottom-up and the other top-down.

They are different libraries so they work differently.
Maybe the best solution could be let the system use oxyplot also in the web preview, but in that case the graph would be an image without tooltips and visual effects.
User avatar
d.pierangeli
Pro Gamma
Pro Gamma
 
Posts: 8092
Joined: 30 September 2010, 15:35

Re: More Graph Issues - data sort differences Form and Repor

Postby john w » 23 February 2024, 15:30

It would seem a reasonable request that Instant Developer use a graph engine that gives the same output results on the form and report.

I am not the only one who struggles with this problem. It is also a topic in the Italian side of the forums. Graphs/Charting seems more important to users and customers than it was before. Right now graphing seems like it is an after-thought, not so important.
Regards

John W
User avatar
john w
 
Posts: 834
Joined: 24 October 2012, 16:29
Location: Apple Valley, Minnesota USA


Return to Tips & Tricks

Who is online

Users browsing this forum: No registered users and 19 guests

cron