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
const data = [ { label: "Data 1", data: [ { date: "01", kilometers: 10, }, { date: "03", kilometers: 9, }, ], }, { label: "Data 2", data: [ { date: "01", kilometers: 70, }, { date: "02", kilometers: 50, }, { date: "04", kilometers: 100, }, ], }, ] const primaryAxis = React.useMemo( () => ({ getValue: (datum) => datum.date, }), [] ) const secondaryAxes = React.useMemo( () => [ { getValue: (datum) => datum.kilometers, elementType: "bar", stacked: true, }, ], [] ) <Chart options={{ data, primaryAxis, secondaryAxes, />
The text was updated successfully, but these errors were encountered:
I'm too facing same issue..it would be good if someone can look into it
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: