types of charts that are supported

types of charts that are supported

by Fouzi Sukhilala -
Number of replies: 4

Hi,

What are types of charts that are supported in Configurable Reports plugin? how th add like a line chart or a histogram?

Thanks

Average of ratings: -
In reply to Fouzi Sukhilala

Re: New plugin: Custom reports

by Martin Contreras -

Hi Fouad!

You can do that. You have to copy one of the plot in components/plot/line and change the file graph.php according your needs

 

Regards,

 

Martin

In reply to Martin Contreras

Re: New plugin: Custom reports

by Fouzi Sukhilala -

I see that there are already graph.php, form.php and  plugin.class.php under configurable_reports\components\plot\line. But while creating a report, there only pie graph that is available..

any help?

In reply to Fouzi Sukhilala

Re: New plugin: Custom reports

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi Fouad,

the line graph is for timeline and sql reports

https://github.com/jleyva/moodle-block_configurablereports/blob/MOODLE_21_STABLE/components/plot/line/plugin.class.php

See

$this->reporttypes = array('timeline', 'sql','timeline');

Regards