We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the documentation, the y field says: "Type: (Horizontal Bar Series): string | number". But in practice, the y field can only be a number. Example:
<XYPlot width={300} height={300}> <HorizontalBarSeries data={[ { y: "APPLE", x: 7 }, { y: "BANANA", x: 10 } ]} /> </XYPlot>
That code throws many errors on the console. But if we put an int in the y field, then everything will work.
The text was updated successfully, but these errors were encountered:
Same goes for VerticalBarSeries, x can't be a string
Sorry, something went wrong.
I think you just need to state xtype to be ordinal, something like this
No branches or pull requests
In the documentation, the y field says: "Type: (Horizontal Bar Series): string | number". But in practice, the y field can only be a number.
Example:
That code throws many errors on the console. But if we put an int in the y field, then everything will work.
The text was updated successfully, but these errors were encountered: