— I have a js file which i am using to display chart, i have linked it with chart.pug (suppose) i am rendering chart.pug with a variable data
, so can i access that data
variable from that js file?
Message permanent page
— Yea thats too a way, but what i am asking..
— Yes, you will have to send the raw data seperately
— You need the data on the client
— Unless you find some way to wrap it with the chart data
— If it is HTML, use a data
attribute