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

Incorrect chart display #4

Closed
BigCosta opened this issue Jul 5, 2019 · 10 comments
Closed

Incorrect chart display #4

BigCosta opened this issue Jul 5, 2019 · 10 comments
Assignees
Labels
bug Something isn't working

Comments

@BigCosta
Copy link

BigCosta commented Jul 5, 2019

If there are several keys, and there is no axis in one key, the diagram displays the values for this key on the wrong axes.
Example:
Table for chart:
key | axis | value
root | China | 1362
root | Chile | 749
root | United States | 549
admin | Germany | 811
admin | Romania | 637

Chart for admin key is not displayed correctly
radar_bug

@sghaskell sghaskell self-assigned this Jul 11, 2019
@sghaskell sghaskell added the bug Something isn't working label Jul 11, 2019
@sghaskell
Copy link
Owner

sghaskell commented Jul 11, 2019

Thanks @BigCosta for reporting this. I'll have a look and see what I can do about fixing it or suggesting a workaround.

@sghaskell
Copy link
Owner

sghaskell commented Jul 11, 2019

@BigCosta I just released version 1.0.6 on Splunkbase that should fix the glitch.

Screen Shot 2019-07-11 at 3 26 04 PM

@sghaskell
Copy link
Owner

Fixed by abd537e

@BigCosta
Copy link
Author

Hi sghaskell!
I tested version 1.0.6 and find what bug not completely fixed. I found new composition with error.

Initial data
key,axis,value
admin,China,20
admin,United States,10
root,China,30
root,Germany,35
root,United States,5
test,China,40
test,United States,15

Chart for admin and test keys is not displayed correctly

radar_bug_2

@sghaskell
Copy link
Owner

Thanks @BigCosta . I'll take another look.

@sghaskell sghaskell reopened this Jul 15, 2019
@sghaskell
Copy link
Owner

Seems to work fine for me. Have you tried clearing your browser cache and re-running?

Screen Shot 2019-07-15 at 9 58 55 AM

@BigCosta
Copy link
Author

Yes, I cleared browser cache. And your example works fine, but there is a difference in the source data.
The problem occurs when the first key has an incomplete axis set.
Add sort command at end for put the admin key in the first place for getting original test data.
| sort key

p.s. After adding the sort command and starting the search, I had to additionally manually refresh the browser page to redraw the chart with new data. Perhaps this is also a bug.

@sghaskell
Copy link
Owner

Thanks @BigCosta for the detailed explanation. It looks like it's because I'm not sorting the axes. I'll update, test and push out a new release shortly. I'll also try to sneak in some fixes for the other issues you're seeing.

@sghaskell
Copy link
Owner

sghaskell commented Jul 22, 2019

@BigCosta - Try version 1.1.0 . This and many other issues have been addressed.

@sghaskell
Copy link
Owner

Fixed by a580128

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