Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change Javascript Chart
#1
I use chartjs.org in my HTML template with variables

<script>
var cType="bar";
var xValues=["Item1","Item2","Item3"];
var yValues=[34,12,45];
....

</script>

I will with IWButton click change this variables and draw chart?

I tried with WebApplication.CallBackResponse.AddJavaScriptToExecuteAsCDATA('var cType = "line";'); and not work!

Maybe is any variant this implementation with RegisterCallBack for change my variables?
Reply


Messages In This Thread
Change Javascript Chart - by matija - 08-05-2021, 11:48 AM
RE: Change Javascript Chart - by Jose Nilton Pace - 08-05-2021, 06:48 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)