Forum Replies Created by zika93

Viewing 1 post (of 1 total)
  • in reply to: Multiple canvasjs charts in MVC partial views #20879

    First, dont include canvas.js script every time. Then, you need unique id for div
    <div >>>> id=”chart” <<< style=”height: 300px; width: 100%;”></div>
    I have created wrapped for canvas.js model by generating random guid from which I set my id to div and then I am using the same id in script to generate canvas.js chart.

Viewing 1 post (of 1 total)