Como usar um menu suspenso selecionável para atualizar os conjuntos de dados do gráfico | Chart.js
In this viewers question the focus was on creating an interactive chart. The goal was how to use a select dropdown option. Once an option was selected the chart will update based on the selected option. The selected option is connected to a dataset that would trigger an update function on click.
These kind of interactive charts are absolutely great and keeps your viewers engaged. A digital chart should be interactive as we are not dealing with pictures but a website. This is why a solid understanding of Javascript is recommended. Especially understanding arrays with Chart JS which is being covered in the Série de Arrays do Chart.js.
Deixe um comentário
Você precisa fazer o login para publicar um comentário.