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

Can't set an ordinal data field as the color categorization field of Scatter Chart #178

Open
sandalu95 opened this issue Jan 4, 2019 · 0 comments

Comments

@sandalu95
Copy link

Description:
When the color categorization field is assigned with an ordinal data field, some data points go missing providing an erroneous result.

this.chartConfig = {
  charts: [
     {
          type: 'scatter',
          x: 'API_NAME',
          y: 'SUB_COUNT',
          color: 'CREATED_BY',
          size: 'REQ_COUNT',
      },
  ]
 };

 this.metadata = {
        names: ['API_NAME', 'CREATED_BY', 'REQ_COUNT', 'SUB_COUNT'],
        types: ['ordinal', 'ordinal', 'linear', 'linear'],
 };

Please check the below scrrenshots.
-with a linear data field
screenshot from 2019-01-04 15-18-14

-with an ordinal data field
screenshot from 2019-01-04 15-16-12

Suggested Labels:
Scatter-chart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant