dojox.charting

Display Custom Label from data store with dojox.charting

I am using the dojox.charting.widget.Chart2D and I am trying to retrieve the data from an dojo.data.ItemFileReadStore. I can retrieve the data, and everything works and displays, except I cannot seem to find a way to display custom labels on the items. My HTML snippet is: <div dojoType="dojo.data.ItemFileReadStore" jsId="chartDataStor...

dojox.charting Setting Custom Tooltip Labels from ItemFileReadStore

I discovered that the dojox.charting.action2d.Tooltip takes a custom function to provide the text for the labels. The challenge is that the text of the label that I want to display is contained within dojo.data.ItemFileReadStore which the chart series is pointed at. I am trying to figure out some way to tie back the information passed ...

Dojo Logarithmic Axis Scale

I've been using the Dojo charting to create a Columns chart. I'm very impressed by it so far, but have decided I need a logarithmic y axis. Doesn't look like this is supported so far, though I've seen a blog entry implying it was planned at some point. Does anyone know it it is possible at the moment? If not, then I'm happy to try writi...

Dojo 1.4.1 + IE8 dojox.charting labels not working

Hi everybody, I know this problem has already been discussed in Dojo 1.4 - IE 8 dojox.charting label not shown -> dojox.gfx but the solution does not work for me :-( Neither this <meta http-equiv=“X-UA-Compatible” content=“IE=7” /> nor this <meta http-equiv=“X-UA-Compatible” content=“IE=EmulateIE7” /> as proposed in the ticket #10...

I am not able to change the Pie chart on Fly?

Hello I am using this code to change the pie chart on fly.. but I am not able to change?can anybody sujjest me how to do this Thanks http://dojocampus.org/explorer/#Dojox_Charting_2D_Simple%20Pie%20Chart I am flowwing this URL Expale.. Thanks advance.. ...

pie chart update or how to send values from gridivew to pie chart to update

Hello friends i am using dojo pie chart in my application.. I have dojo pie chart and bar grpah... My questions is now i need to update those two things.. that is.. above the charts I have gridview with user data.. I need to pass certain values from gridview to pie chart or bar grpahs to update..using javascript or jquery please can an...

Incorrect rendering in dojox charting stacked column?

Hiya, I seem to be having a problem with my dojo stackedcolumn whereby the scale of some of the bars is correct for some x-axis points, but not others. Here's my code (observe the northern ireland hydro should be 70, but only shows as around 30): dojo.addOnLoad(function() { var chart1 = new dojox.charting.Chart2D("sitesbycountry"); ...

Dojox charting, problem with Columns chart type

I can't figure out what's wrong. Using the latest everything from dojotoolkit.org. My chart renders fine for a Marker or Line chart: this.chartVol.addPlot("default", { type: "MarkersOnly", lines: false, markers: false, gap: 1, hAxis: 'volX', vAxis: 'volY' ...

dojox.charting: how to align the plotArea of 2 charts, one above another?

I'm trying to layout 2 linked charts, one above the other, similar to what you might see on the Google Finance page. I can render both charts just fine, but getting the plotAreas to line up exactly is a bit of a mystery. The chart.plotArea.width of each chart seems to depend on the width of my Y axis labels. Thus the 2 charts are not t...

Adding a series to a simple dojo chart

I have constructed a simple function that programatically builds charts using dojox.charting. I'm a bit puzzled as to how to cast variables correctly when passing them to the chart via addSeries. Consider this: function buildChart(targetDiv){ //grab the destination var bc = dojo.byId(targetDiv); //define the da...

dojo charting - problem with onmousemove over chart plotArea

I'm trying to build a chart which draws a vertical line to the X axis under the cursor. Using this as a guideline: http://dojo-toolkit.33424.n3.nabble.com/Charting-events-td40659.html I am using the following code to catch 'mouseout' & 'mousemove' for the chart plot area (excludes the chart margins and labels) chart = new doj...

MSIE 8 performance issues with dojo charting: dojo._getMarginBox

I have a page with 6 dojox.charting.Chart2d charts that works fine in all browsers except IE. In IE8, the charts take more than a minute to load. Profiling shows that by far the majority of the time is being consumed by dojo._getMarginBox: 57 calls takes between 48 and 66 seconds. Has anyone else got experience with this? Has anyone ...

Dojo 1.5.0 Charting Legend missing

Hi, I just upgraded from Dojo 1.4.3 to 1.5.0 and noticed that my legend is now missing. Anyone else have this problem?? I keep receiving the following error: o is undefined in dojo.js line 73 This error occurs when chart1.render(); //Graph shows but error causes the rest of the code in that javascript function to not execute (So, ...

Dojo Clustered Bar Chart - Tooltips not working?

Trying to get tooltips to show for a clustered bar chart when highlighting a row to no avail. Cope below... look at the c.addSeries call: <script type="text/javascript"> dojo.require("dojox.charting.Chart2D"); dojo.require("dojox.charting.plot2d.ClusteredBars"); dojo.require("dojox.charting.action2d.Highlight"); ...

[DOJO] Mixed Charting DATA sources in the same CHART

Hi all, I'm new in DOJO and I post here for the first time. I have a problem to create several lines on the same chart. I've done a simple test to simulate data and it works dojo.require("dojox.charting.Chart2D"); makeCharts = function(){ //crée un nouvel objet graphique var chart1 = new dojox.charting.Chart2D("simplechar...

DOJO chart AJAX url

I don't know why my code doesn't work. I want to get in the same chart different lines which have different url sources. function recupereData(url){ var retourVar = ""; dojo.xhrGet({ url: url, handleAs: "json", load: function(data){ retourVar = data; } ...

Display months in xAxis with Dojo

Hi all, I have this data : { "identifier": "id", "idAttribute":"id", "label": "date", "items": [ { "id":1, "name":"index", "point":[{"id":1,"num":17, "date":"2009-02-01"}, {"id":2,"num":10, "date":"2009-06-01"} ]}, { "id":2, "name...

AddSeries parameters

Hi, I try hard to get some functional charts with dojo... I want to create a stacked area chart with 3 lines. For the "bas", "moy" and "haut" as you see in the JSON data. var jStore = {"identifier":"mois", "items":[{"mois":1, "bas":98, "moy":122.5, "haut":147}, {"mois":2, "bas":91, ...

connecting google analytics data api to dojo charts - php backend

I'm looking at feeding dojo charts with data from google analytics, within a Zend Framework app. Has anyone done this or have any overview as to how I would go about it? I see there is a dojox.data.GoogleSearchStore. Does it make sense to have a dojox.data.GoogleAnalyticsStore and is anyone working on something like this? ...