Questions tagged [dojox.charting]

dojox.charting is a sub-library of the Dojo Toolkit, which is an open source modular JavaScript library designed to ease the rapid development of cross-platform, JavaScript/Ajax-based applications and web sites. It is dual-licensed under the BSD License and the Academic Free License.

dojox.charting is a sub-libarary of the Dojo Toolkit that provides fully JavaScript based 2D and 3D charting that is very feature rich.

The documentation for the libarary is available here: http://docs.dojocampus.org/dojox/charting/

192 questions
5
votes
4 answers

set background color in chart

I am using a theme, but i want to set background color around the chart to white or transparent or something. I am trying this code: var myTheme = dojox.charting.themes.PlotKit.orange; myTheme.fill= "white"; …
anvd
  • 3,997
  • 19
  • 65
  • 126
5
votes
1 answer

Incorrect position of tooltip only in new version of dojo 1.7

When i updated my version of dojo from 1.6 to 1.7.1 i found an issue in the position of the tolltips in ClusteredBars. Even in the Dojo Toolkit SDK 1.7.1 this occurs. demo http://jsbin.com/utesoz/2/edit Any idea ? I think this problem is probably a…
daniel__
  • 11,633
  • 15
  • 64
  • 91
5
votes
2 answers

Customised markers/tooltips on a Dojo line chart

I'm using Dojo 1.8 to create a Line chart which I am using to plot time series data. The data consists of samples taken every 5 minutes over a 24 period giving up to 288 (12x24) data points. In order to have tooltips on the chart, I need to enable…
PhilDin
  • 2,802
  • 4
  • 23
  • 38
4
votes
1 answer

change the color of grid plot -dojo

i am using this code: chart1.addPlot("grid", { type: "Grid", hMinorLines: true }); how i can change the color of the grid, and the interval between each line ? It is possible, right? thanks
anvd
  • 3,997
  • 19
  • 65
  • 126
4
votes
1 answer

Using chart.addAxis and defining a title for the horizontal line on a Line graph the title is inverted

How do you define a title that will not be inverted on the horizontal axis of a line graph, using the chart.addAxis method. Currently my code is seen below. What happens is when the "X Axis" is rendered it is inverted upside…
Ray
  • 41
  • 1
  • 3
4
votes
5 answers

error :id is already registered

i have this error in my code Error: Tried to register widget with id==legend1 but that id is already registered the code for the legend is:
var stackedAreaLegend = new dojox.charting.widget.SelectableLegend({ …
daniel__
  • 11,633
  • 15
  • 64
  • 91
4
votes
1 answer

update data in chart (dropdown)

In my code below, the data is updated but the chart is not redrawn in the same position. What is the problem in my code? (more information in firebug if you want - json is updated when the las dropdown is changed - only the category designer have…
anvd
  • 3,997
  • 19
  • 65
  • 126
4
votes
1 answer

How to check whether Button is clicked or not in Dojo

In Dojo, How to check that the button is already clicked or not. Here I need to do different task if button is clicked. For that I am using the following piece of code, but it is not working:
Tarun Chaudhary
  • 1,046
  • 2
  • 12
  • 20
4
votes
1 answer

Using requirejs with dojo 1.9.1

Can anybody provide me with a simple example of how to use requirejs to load dojo modules? The requirejs.org website indicates it is best to use the dojo loader until a ticket is resolved - but that ticket appears to be resolved and is now closed. I…
dwhogg
  • 188
  • 7
4
votes
2 answers

How to get Clicked series name when clicking on dojox.charting.Chart?

i'm trying to create a chart using dojo. I choose a StackedColumns chart. I want to make it interactive. When a user clicks on a graph columns, an hyperlink should be invoked. But to create hyperlink'url, I need the series name. Is there any way to…
javaduke
  • 43
  • 1
  • 7
3
votes
1 answer

export/convert chart from dojo charting to image

can anyone tell me if it is possible to convert a dojo charting object into an îmage file? I need this as I want to export an Excel file from a webpage containing some data and the representing chart. The only thing I found is…
gotcha
  • 151
  • 2
  • 14
3
votes
1 answer

How to use custom tooltip for dojo-clusteredColumns chart, as we do in dojo-pie charts?

I am using dojo toolkit for generating charts. I have used dojo pie charts, where i gave custom tooltip as chart1.addSeries("Series 1", [{x:1,y:4,tooltip:"Value is 1"}, {x:2,y:6,tooltip:"Value is 2"}]); Similarly,…
SuryaPavan
  • 347
  • 1
  • 6
  • 18
3
votes
2 answers

Title of axis is affecting when 'rotation' is used - dojo-charts

I have given 'rotation:-90' to make the lables of x-axis to rotate. But that rotation is even applied for the title of the axis also. How can I stop that? Please anyone help me. Below is the code I'm using.. makeCharts = function() { …
SuryaPavan
  • 347
  • 1
  • 6
  • 18
3
votes
0 answers

Plot multiple irregular timeseries on same line chart dojo

I am looking to create a line chart which will plot an array of data which has a corresponding x value (date/time) and y value associated with it. The chart can have any number of series (different lines on the same graph). You can think of this as…
emooheo
  • 89
  • 1
  • 1
  • 5
3
votes
1 answer

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…
Martin Dow
  • 5,273
  • 4
  • 30
  • 43
1
2 3
12 13