score:0
from what i understood you need spring controller added attribute model.addattribute("irisdata", irisdata);
in your javascript code.
you can try this
in your javascript code
<script>
...
var irisdata= <c:out value="${irisdata}"/> // you can now use irisdata in your chartjs code.
...
</script>
Source: stackoverflow.com
Related Query
- Visualizing iris dataset
- How to run Chart.js samples using source code
- Chart.js v2 hide dataset labels
- Chart.js - How to set a line chart dataset as disabled on load
- Is it possible in chartjs to hide certain dataset legends?
- How to disable a tooltip for a specific dataset in ChartJS
- Chart.js Line-Chart with different Labels for each Dataset
- How to display Line Chart dataset point labels with Chart.js?
- Add DataSet Bar Chart - Chart.JS
- How to add an offset to a dataset in Chart js
- ChartJs how to get from mulitiple dateset which dataset bar is clicked
- Chartjs doesn't update dataset label on tooltips
- Chart.js: different dataset size
- onClick event to Hide dataset Chart.js V2
- Chart.js Multiple dataset
- Chart.js LineChart how to show only part of dataset and support horizontal scrolling
- Chart.js dataset controller 'null' when chart drawn
- Chartjs line graph dataset with offset
- Loop Dataset ChartJS Javascript
- hide dataset by default using Chart.js and a custom script
- Chart.JS: How to add Data to a specific dataset
- Chart.js how to set cutoutPercentages for each dataset
- Maintain Y axis scale in graph with scroll in the X axis when the dataset grows bigger. Aspect-ratio problem
- Chartsjs multi-axis, make the scale appear/disappear when the dataset is activated/deactivated
- How to dynamically set ChartJs line chart width based on dataset size?
- Chartjs bar dataset label not showing
- How put dataset labels into multiTooltipTemplate?
- Chart.js multiple dataset issue: hovering over n-th point "hovers" over every dataset's n-th point
- Add dynamic dataset to chart.js
- How to add a dataset toggle to Chart.js?
More Query from same tag
- Chartkick-vue bar chart - "horizontalBar" is not a registered controller
- How can I force my ChartJS canvas legend to stay in a single column?
- Javascript / JSON error: TypeError: myObj is undefined
- Chart doesn't display fonts
- Legend option destroys pie chart in Chart.js
- How do I change the interpolator used in Chart.js?
- Chart.js y axis labels are truncated
- How to import Patternomaly into Ionic 2 project?
- charts.js stacked y-Axis
- Aligning zero on y axis to the labels on x axis of line chart in chartjs
- Render Chart.js on backend side ASP.NET
- How to remove transparency from images downloaded in Chart.js
- Remove gridlines in AngularCharts
- custom label title for scatter in React-ChartJS-2
- Why itemSort is not triggered when I hover a dataset point in Chart.js?
- laravel query builder with conditions
- ChartJS passing data dynamically, then passing data into variables
- How can I re-distribute values within a charts.js pie chart when a legend item is turned off/on?
- Is there any way to display float bar in chart.js?
- Getting data into script tag from route?
- ChartJs Doughnut parsing datasets
- Dates not displaying on X Axis using Chart.Js on MVC 5
- Download Chart.js graph from view
- Increase Chart.js Scale Padding/Margin
- Chart.js doughnut chart comes bigger and bigger
- Creating dynamic object to reorganize API response using Typescript
- Sorting arrays and comparing array values php
- How to fill my chart (chart.js) with my own data from API
- Tool tip not showing for those label who's data overlapped on each other in chart.js
- How to decrease bottom width of triangle using line chart in chartJs?