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: ```jsx <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.
Activity
kaustubhai commentedon Sep 23, 2021
Same goes for VerticalBarSeries, x can't be a string
Jefff-yang commentedon Sep 29, 2021
I think you just need to state xtype to be ordinal, something like this
