Accepted answer

i'm not familiar with the library but all this code appears to be doing is creating an object in the code behind. you will need to do something to cause this to render in to the page.

looking at their example code behind code there is a line

ltrchart.text = chart.tohtmlstring();

this is the bit you are missing. you need to call tohtmlstring() on your chart object and assign this string to a literal or placeholder in the page.

to create the literal just add this code somewhere on the page....

<asp:literal id="ltrchart" runat="server"></asp:literal>

...and your chart should appear there.


based on their example you need to send the html to the client side with the line


it works to me, though it prints it at the top of the screen and i wish i could set the position for it.

Related Query

More Query from same tag