Hi, I have been trying to get my way round the DOJO charting using the declarative (html) method.
1. I have a ItemFileReadStore for the data source
2. I know the data store has data as I am outputting it to a grid as well.
The only thing that appears is the axes and the numbering for the x axis, there is no line and the numbering for the y - axis, tried googling, but to no avail.
Please assist.
Thanks in advance.
<span dojoType="dojo.data.ItemFileReadStore" id="query_report" jsId="query_report" clearOnClose="true" url="http://localhost/index.php/sales1_controller/GetTotalRevenue/2011" ></span>
<div class="gridContainer">
<div dojoType="dojox.charting.widget.Chart2D" id="chart1" style="width: 500px; height: 500px;" store="query_store">
<div class="plot" name="default" type="Lines"></div>
<div class="axis" name="x"></div>
<div class="axis" name="y" vertical="true"></div>
<div class="series" name="myData" store="query_report" valueFn="Number(x)"></div>
</div>
</div>