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

[D3FC] Non-numeric axes on X/Y scatter charts #499

Closed
texodus opened this issue Mar 26, 2019 · 3 comments
Closed

[D3FC] Non-numeric axes on X/Y scatter charts #499

texodus opened this issue Mar 26, 2019 · 3 comments
Labels
enhancement Feature requests or improvements JS

Comments

@texodus
Copy link
Member

texodus commented Mar 26, 2019

When a user selects a non-numeric column on an axis of an X/Y scatter chart, is there a way to apply a category axis ala Y scatter chart? This is helpful when e.g. you want an aggregate which returns a non-numeric (like "unique" or "dominant") on an axis, which is different than the pivoted column - e.g. in this example, the data is grouped by "State", but we have the dominant 'Sub-Category" for each state as a category on the X axis (D3FC on left, HighCharts on right)

Screen Shot 2019-03-26 at 9 52 19 AM

@texodus
Copy link
Member Author

texodus commented Mar 26, 2019

Similarly - when a datetime column is on the axis of an X/Y chart, it should be a datetime axis ala the Y series when pivoted by that column - e.g. in the below, the X axis is showing the datetime stringified and overlapped, rather than the Y line in the following chart.

Screen Shot 2019-03-26 at 9 55 55 AM

Screen Shot 2019-03-26 at 9 59 00 AM

@timkpaine timkpaine added enhancement Feature requests or improvements JS labels Mar 26, 2019
@andy-lee-eng
Copy link
Contributor

I'll take a look. We should be able to detect the desired axis type easily enough, then we'll see if anything else breaks (though I think it should be fine).

@texodus
Copy link
Member Author

texodus commented Apr 26, 2019

This is fixed in 511 and was released in 0.2.23!

@texodus texodus closed this as completed Apr 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests or improvements JS
Projects
None yet
Development

No branches or pull requests

3 participants