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
When one chart is rendered via their rendering-function
(e.g. function createChart() { let ctx = document.getElementById("barChart"); let myChart = new Chart(ctx, { type: "bar", data: chartData, options: chartOptions, }); })
function createChart() { let ctx = document.getElementById("barChart"); let myChart = new Chart(ctx, { type: "bar", data: chartData, options: chartOptions, }); }
You can't render a second one by creating the same chart component at index.svelte.
The canvas gets created but the chart does not get displayed on it.
Maybe the solution will be to create a canvas with a new class name each time the bar chart component is rendered.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When one chart is rendered via their rendering-function
(e.g.
function createChart() { let ctx = document.getElementById("barChart"); let myChart = new Chart(ctx, { type: "bar", data: chartData, options: chartOptions, }); }
)You can't render a second one by creating the same chart component at index.svelte.
The canvas gets created but the chart does not get displayed on it.
Maybe the solution will be to create a canvas with a new class name each time the bar chart component is rendered.
The text was updated successfully, but these errors were encountered: