Login Register

Dojox Charting

Dojox Charting visible region

I have data with negative numbers, but I only want to plot positive numbers, since the negatives indicate bad data of various kinds. I want the line plot to dive down to zero, but currently it actually plots -1, etc. This looks especially bad as it makes the x-axis unreadable.

recreate chart on click

Hi,

I've got a function that creates a chart using variables grabbed from a table, it grabs labels and y values.

The problem I'm having is that when I try and render the chart again, I can't work out how to kill the old one and do it clean again - I've seen there's an updateseries thing but nothing for labels afaik?

I'm pasting my code in below. It works fine first time, but just keeps adding new charts underneath without labels the following times.


function renderChart(){

var label0 = ''+(dojo.byId('date2').value);
var label1 = ''+(dojo.byId('date3').value);

Ext 2.0 Grid to Dojox Chart

I want to how to connect the selected rows from a Ext 2.0 Grid to a Dojox Chart. When the rows are selected in the Ext grid it should generate a dojo chart with the row headers and column headers as x and y of the chart and if it is a pie chart the division should be according to the selected rows and columns. Plz help me with code asap as i have submit this project by today.

Thanks in Advance
Jyo

Syndicate content