Skip to content
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

double category labels #28

Closed
Emporea opened this issue Mar 12, 2020 · 10 comments
Closed

double category labels #28

Emporea opened this issue Mar 12, 2020 · 10 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Emporea
Copy link

Emporea commented Mar 12, 2020

Since you moved to Chart.js i am missing some documentation guides.
With Highchart it was possible to have a csv like this to have multiple graphes

Name,Date,Amount
testname,2020-02-14,108
testname,2020-02-15,68
testname,2020-02-16,60
testname,2020-02-17,96
testname,2020-02-18,103
differentchart,2020-02-14,53
differentchart,2020-02-15,30
differentchart,2020-02-16,22
differentchart,2020-02-17,40
differentchart,2020-02-18,42

Now such file looks like this since the migration to chart.js.
image

Whats the correct way of using chart.js features trough a csv file? Are there even all features available, like horizontal bars or different point styles?

@Rello
Copy link
Owner

Rello commented Mar 12, 2020

Hello,
thats strange. i wonder where the empty lines are coming from.
its a timeline chart?

can you please drop me the file for analysis here:
xxx

@Rello Rello self-assigned this Mar 12, 2020
@Rello Rello added the bug Something isn't working label Mar 12, 2020
@Emporea
Copy link
Author

Emporea commented Mar 12, 2020

So the time bug resolved by using the time chart. But this doesnt solve the problem. I have just uploaded a file which does the same and duplicates the x axis.

I also sent a screenshot.

@Rello
Copy link
Owner

Rello commented Mar 12, 2020

got it. will check tonight. I think I can see the problem

@Emporea
Copy link
Author

Emporea commented Mar 12, 2020

Thank you. Should i open another issue for a feature request, that allows for more use of chart.js like doughnuts and so on? Or is it unneccesary because its not in your planning right now.

@Rello
Copy link
Owner

Rello commented Mar 12, 2020

on the roadmap already. just had to bring the "as-is" out as quick as possible

@Rello
Copy link
Owner

Rello commented Mar 12, 2020

Hello,
I found the issue. when doing a non-time-chart, the categories (X-axis) need to be the same for all datasets (which it is for your example).
But the error is adding the categories of every dataset on top - so double.
will send a fix

@Rello Rello changed the title Bug or different dataset required? double category labels Mar 12, 2020
@Rello Rello added the in progress development in progress label Mar 12, 2020
@Rello Rello added this to the 2.1.1 milestone Mar 12, 2020
@Rello
Copy link
Owner

Rello commented Mar 12, 2020

Screenshot 2020-03-12 at 21 11 50

@Rello Rello added pending release part of the next release version and removed in progress development in progress labels Mar 12, 2020
Rello added a commit that referenced this issue Mar 12, 2020
@Rello Rello removed the pending release part of the next release version label Mar 12, 2020
@Rello Rello closed this as completed Mar 12, 2020
@Emporea
Copy link
Author

Emporea commented Mar 12, 2020

So I have just updated to 2.1.1. but cant see any difference. I dont know if I understood your answer correctly, do I have to change anything to the csv i uploaded to your nextcloud?

Edit:
Nevermind.. Its working! Somehows the old one was still in cache.

@Rello
Copy link
Owner

Rello commented Mar 12, 2020

I hope it helps already. The axis texts will be next...

@Emporea
Copy link
Author

Emporea commented Mar 12, 2020

I really like the Analytics app. It is very good and so useful. Keep up the good work!

Thank your for this quick fix to 2.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants