-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graph is not accurate with the data while spamming #163
Comments
I don't understand your question yet. What did you do when you clicked the Spamming button?
How did you set for the point downward?
You can change the theme ColorPalettle
Also you can change the theme ColorPalettle. itemStyle color can set for point color, lineStyle color can set for line color.
Can you show some screenshots? I don't understand the question yet. |
I mean if I press Show Graph button multiple times quickly without changing the data
I don't know, as I just checked the y-axis arrow and it shows a downward arrow for y-axis, while x-axis is correct as expected
ColorPalette under theme don't specify which color will change the Legend text. Also
This one won't work as the above screenshots show.
Under where? as I already changed it
Here is the screenshot of graph (with same data as mentioned above) with zoom-in Also, your source code and Plugin don't match, so which one is latest? |
The master branch is latest.
I've fixed it in master branch. |
Yes, I updated the code to master branch. Now, Issue 1 & 2, still exists. While others are resolved. |
Issue 1 has been fixed in the latest master branch. |
Thanks a lot, yes Issue 1 is fixed. Still, Issue 2 exists, but I'm not using the arrows in my project, so you can take your time to fix it. By the way, I haven't done anything fancy, which made the arrow downward. I just checked to see the arrow on the y-axis and it wasn't as expected (as shown in the picture) |
I was working on it and found another bug related to d87e0f8 (Issue 1) that if the y-data is 0, x-axis label doesn't update itself, while the data is as expected. PROBLEM in one-line: When 0 value is set as ignore and there is at least one data greater than 0 on y-axis, then x-axis label gets updated. But if all values in y-axis are 0 then x-axis label doesn't update itself according to the data. EXPECTED: x-axis label should update in any case according to x-axis data This is the expected (correct) data which is in the x-axis data with 0 value on y-axis So update is still missing in some places in the code. I tried to update your code, but couldn't fix this issue. |
3949018 this one is the fix of the rotation and position fix. Now the issue is of the label, which doesn't get updated according to the x-axis data, as mentioned in the screenshots Yeah, now I'm using the latest code, still facing the above-mentioned issue |
The following video explains the issue more clearly, as you can see the dates which I'm showing in the graph with 3 months patches https://user-images.githubusercontent.com/7029364/130215961-432f4467-afea-4c90-abbf-142df59d739e.mov |
What do you do when you click the left and right buttons?Can you show me the relevant code? |
I'm simply using the above sample code every time to show the graph with respective data of 3 months (as I know for 1 or 2 years data is too big to show on one graph). Arrows just fetch the next or previous data to populate. Like if I'm trying to show a 1-year data on graph, then I will break it down into 4 chunks (3 months), and using arrows I will show the data. And pass only the first 3 months data to the graph to display it, then according to arrows pressed I pass the next 3 months data to show. Kindly fix this issue, as I'm stuck in this, as with wrong data on the graph I can't submit my app |
I have fixed it in 2.0 branch. |
Yeah, thanks a lot. Issue 1 is fixed |
In branch 2.0, original issue 1 fix (d87e0f8) which was fixed in the master branch, you forgot to add in branch 2.0 Also, kindly fix this issue in branch 2.0, as now I'm on 2.0 |
I'm using XCharts-2.3.0-upm.unitypackage
The graph displayed is wrong according to passed and displayed data, if you spam on displaying the graph. While it shows perfectly fine if the showing graph button is not spammed.
I'm doing
_lineChart.ClearData();
before populating graph again and_lineChart.RefreshChart();
after adding every entry in the graphAbove data remains the same, and the graph should be
While I also get the following variations of the graph by spamming the show graph button with the same above mentioned data
The text was updated successfully, but these errors were encountered: