Page 1 of 1
Line Graph: Double X Entrys
Posted: Sun May 03, 2020 11:41 pm
by ace16vitamine
Dear all,
I have a strange problem and I do not know why or what is going on wrong.
2 Line Graphs:
1st with the data
0,0
1,2
2,6
3,5
4,5
5,4
6,6
2nd with the data
0,2
1,6
2,5
3,5
4,4
5,6
6,7
7,3
(..)
In the 2nd Graph I have double Items on the X Axis description and I dont know why. If I change the Data from the 2nd to the 1st I have the same issue. It seems that I have a problem with the datas but what is wrong?
Any Ideas why?
Stef
Re: Line Graph: Double X Entrys
Posted: Mon May 04, 2020 5:30 am
by Xero
You have a repeated 5 in your first graph as well...
No idea how to fix it, but it seems where you have a double number value, you're getting a repeat...
X
Re: Line Graph: Double X Entrys
Posted: Mon May 04, 2020 8:01 am
by LiveCode_Panos
Hello all,
This was a bug in the line graph widget, which should be fixed in LiveCode 9.6.0 DP-4:
https://downloads.livecode.com/livecode/
Kind regards,
Panos
--
Re: Line Graph: Double X Entrys
Posted: Mon May 04, 2020 9:43 am
by bn
Hi Panos,
If you are referring to
https://quality.livecode.com/show_bug.cgi?id=22482
with pull-request
https://github.com/livecode/livecode/pull/7294
then the pull-request is not yet merged as of today and would not be in LiveCode 9.6.0 DP-4
Kind regards
Bernd
Re: Line Graph: Double X Entrys
Posted: Mon May 04, 2020 2:36 pm
by dunbarx
Hi.
A small thing, but please let me (us?) know early on that you are working with a widget, as opposed to "ordinary" LiveCode.
I condo not figure out how you got the graph you got at all, until I saw Bernd's post.
Craig
Re: Line Graph: Double X Entrys
Posted: Mon May 04, 2020 7:52 pm
by LiveCode_Panos
Oops, sorry
Indeed this is the PR I had in mind. I thought it was reviewed and merged. Thanks for spotting this Bernd!
Kind regards,
Panos
--
Re: Line Graph: Double X Entrys
Posted: Tue May 26, 2020 10:45 pm
by ace16vitamine
Any news if this will be fixed in 9.6.0 (RC3)?
Stef
Re: Line Graph: Double X Entrys
Posted: Wed May 27, 2020 9:06 am
by mrcoollion
On another note. If you really need complex graphic chart there is another way to do this.
I use ECharts with the browser Widget
https://echarts.apache.org/en/index.html
Downloaded the online java script
https://echarts.apache.org/en/download.html
And depending on what chart you need you only have to manipulate one or two files. You might need to invest some time to figure out how and what but the result is worth it. In the samples section not only the cards are shown but also the code
https://echarts.apache.org/examples/en/index.html.
I use the examples given in the download.
Here are some examples.
Re: Line Graph: Double X Entrys
Posted: Mon Jun 08, 2020 8:33 pm
by ace16vitamine
OK, it is not merged with 9.6.0 (final). And the patch (which Bernd wrote) is not working. Maybe another issue?
Re: Line Graph: Double X Entrys
Posted: Mon Jun 08, 2020 8:45 pm
by bn
ace16vitamine wrote: ↑Mon Jun 08, 2020 8:33 pm
OK, it is not merged with 9.6.0 (final). And the patch (which Bernd wrote) is not working. Maybe another issue?
could you post sample data that is not working in the patched version of linegraph widget?
You could also send it via private message if you prefer.
Kind regards
Bernd
Re: Line Graph: Double X Entrys
Posted: Mon Jun 08, 2020 9:18 pm
by bn
Hi Stef,
here are the screenshots of the two datasets you have sent me.
I am afraid that is as good as it gets with my patch.
Kind regards
Bernd
Re: Line Graph: Double X Entrys
Posted: Mon Jun 08, 2020 9:38 pm
by bn
Hi Steph,
this is the patched widget with a different name and signature. That way you can install it alongside of the built-in widget and test the patched version.
To install it use the Extension Manager and point the Extension Manager to the (unzipped) file I attach.
Kind regards
Bernd
Re: Line Graph: Double X Entrys
Posted: Mon Jun 08, 2020 9:44 pm
by ace16vitamine
Ok Bernd, if I install it with the extension manager it is working.