Chartjs-Visualizing iris dataset

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>

Leave a comment