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

New-UDChart -Type Line does not return Label property #658

Closed
mkellerman opened this issue Feb 23, 2019 · 3 comments
Closed

New-UDChart -Type Line does not return Label property #658

mkellerman opened this issue Feb 23, 2019 · 3 comments
Labels
enhancement New feature or request needs validation
Milestone

Comments

@mkellerman
Copy link

EventData returned by Line chart on click:

[{"x":953.021484375,"y":46.18285714285713,"skip":false,"radius":4,"pointStyle":"circle","backgroundColor":"rgb(245, 69, 0)","borderColor":"rgb(0, 0, 0)","borderWidth":1,"tension":0.4,"hitRadius":1,"controlPointPreviousX":914.2563423484957,"controlPointPreviousY":32.91988146963996,"controlPointNextX":1006.2563423484957,"controlPointNextY":64.39645289821138}]

Compared to a Bar Chart:

 [{"datasetLabel":"","label":"15:00","borderSkipped":"bottom","backgroundColor":"rgba(255, 159, 13, 1)","borderColor":"rgba(123, 33, 12, 1)","borderWidth":1,"horizontal":false,"base":382.7142857142857,"x":1125.34765625,"y":131.57142857142858,"width":34.56000000000001}]
@mkellerman
Copy link
Author

Would be good to keep things consistent on all the charts.

@adamdriscoll
Copy link
Member

This is coming from ChartJS directly so it'll be a little tricky to add but I can look into it.

@adamdriscoll adamdriscoll added the enhancement New feature or request label Feb 25, 2019
@GregorSm
Copy link

Me and another guy on Universal Dashboard Forums also need this fixed. $EventData should return data from the dataset corresponding to the point clicked so that we can implement drill-down scenarios.

@adamdriscoll adamdriscoll added this to the 2.8.0 milestone Nov 30, 2019
adamdriscoll added a commit that referenced this issue Nov 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs validation
Projects
None yet
Development

No branches or pull requests

3 participants