ReferenceError: Can't find variables: dhx

Hi,
I am trying to get a simple pie chart example working using ios 6.0. But when i try to load the html page containg the dhtml touch code to generate the pie chart i get an error

A snipped of my code

<link rel="stylesheet" href="../../../codebase/touchui.css" type="text/css" media="screen" charset="utf-8">
<script src="../../../codebase/touchui.js" type="text/javascript" charset="utf-8"></script>
<script src="demo.js" type="text/javascript"></script>

dhx.ready(function(){
....

I have even copied the touchui.js into the same directory with little luck.

I have tried the example under samples/00_apps/mobile/05_menu.html
and still get the same error.

Any assistance would be appreciated

Hi,

probably the path to touchui.js is incorrect.

Check the following samples:
dhtmlxTouch_v12_120913/samples/07_chart/04_pie_chart/04_donut.html
dhtmlx.com/touch/samples/07_char … donut.html

Thanks Alexandra,
You are correct it was because it couldn’t find the path. Even though the “…/…/…/codebase/touchui.js” is the correct location, i changed this to be just “.touchui.js”. It working now.

One other thing I have to say about DHTMLx is “wow”