Do not send me message privately upon answers on the mailing list - keep the mailing list always cc-ed otherwise the messages will be ignored.

On 4/14/11 3:02 PM, Camila Troncoso wrote:

Daniel,

 

I want a bars graph and i´m using another table, one that I create. The graph displays well with the default configuration  (the one that the other graph of siremis have) but I don´t want an area graph. I search around siremis files and find a file named charts-lib.php. I suppose this is the script that creates the graphs , but in this file are only two type of graphs describe near line 130 ( area and line_dot). I don’t know if this is why I can´t change the graph type.

yes, so far these are the ones supported by siremis for building custom graphs. The type, one of them, is taken from the xml config files describing the graphs.

The library for making graphs supports other types, as you could see in the usrloc charts, but that is using a different php code base than the other grpahs.

If you want to enhance it with other types of graphs, that would be great and if you send a working patch then we can include it in the next release.

Cheers,
Daniel

 

 

Regards,

 

Camila

 

From: Daniel-Constantin Mierla [mailto:miconda@gmail.com]
Sent: jueves, 14 de abril de 2011 6:16
To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List
Cc: Camila Troncoso
Subject: Re: [SR-Users] Problems with siremis custom charts

 

Hello,

On 4/13/11 10:56 PM, Camila Troncoso wrote:

 

Hi,

 

I´m having problems with siremis charts. I create a new graph and all is working fine, but I want to use another type of graph ( the default graphs of siremis uses type=”area”)  and when I change the graph type  to any other thing  it shows me the same graph but only the area under the curve isn´t paint , but the curve doesn´t change.

 

 

Please some help with this issue…

what type of graph you try to use? have you checked the database statistics table records, do they have different values for this graph? If not, check if you write the desired values from the kamailio config file there.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://www.asipto.com

-- 
Daniel-Constantin Mierla
http://www.asipto.com