Feature #7408
Upgrade pChart to 2.x version
Description
pChart 1.27 classes
- pChart
- pData
- pCache
- pBarcode39
- pBarcode128
- pBubble
- pCache
- pData
- pDraw
- pImage
- pIndicator
- pPie
- pRadar
- pScatter
- pSplit
- pSpring
- pStock
- pSurface
A problem here is pChart class doesn't exist, and some methods used in Chamilo should be adapted to new pChart 2.x classes
Should consider changes for these commits:
https://github.com/chamilo/chamilo-lms/commit/468ded54a5a8b8456fe4c28c6dc8fb7011d55b0b
https://github.com/chamilo/chamilo-lms/commit/df256d657859b672571b2d3269d95cbd2b42ec93
Files
History
Updated by Daniel Barreto about 6 years ago
- Status changed from New to Assigned
- Assignee set to Daniel Barreto
Updated by Daniel Barreto about 6 years ago
- % Done changed from 0 to 10
Replace pchart old code from flatview.class.php file, display_graph_by_resource method
Update autoload
Work in:
https://github.com/danbarretodev/chamilo-lms/tree/CT7408
To do:
Update previous custom fixes to old pChart library
Check cache feature (archive folder)
Updated by Daniel Barreto about 6 years ago
- % Done changed from 10 to 30
Upgrade the chart used in my progress
See:
https://github.com/danbarretodev/chamilo-lms/tree/CT7408
To do:
Upgrade Chart for surveys, dashboard and others
Define a global color template for pChart
see http://wiki.pchart.net/doc.color.schemes.html
Add a open source font (Verdana and Tahoma were used until now)
Updated by Daniel Barreto about 6 years ago
- % Done changed from 30 to 70
Upgrade all pChart use
see:
https://github.com/danbarretodev/chamilo-lms/tree/CT7408
To do:
Review for code style and standards
Updated by Daniel Barreto about 6 years ago
- Assignee changed from Daniel Barreto to Alex Aragon
Done:
Use now open sans font, downloaded to /main/css folder
Correct code style and standards
Replace reference to pchart library (old version) and delete it
Replace pChart2 library by https://packagist.org/packages/szymach/c-pchart
Update composer.json and composer.lock (only update c-pchart library), should generate new autoload files using
composer install
see https://getcomposer.org/doc/00-intro.md
To do:
Define a global color template for pChart
see http://wiki.pchart.net/doc.color.schemes.html
Send PR to 1.10.x:
https://github.com/chamilo/chamilo-lms/pull/463
Updated by Daniel Barreto about 6 years ago
Move opensans folder to /main/fonts.
Execute composer install to add pChart
Rebase commits onto 1.10.x
Updated by Alex Aragon about 6 years ago
- File pchart.png pchart.png added
Adjuntos algunos modelos de colore para usar.
Updated by Yannick Warnier about 6 years ago
El primero me gusta más.
Puedes enviar los códigos de color para que Daniel los use?
Updated by Daniel Barreto about 6 years ago
- Assignee changed from Alex Aragon to Daniel Barreto
Add palette for graphs
Merge Chamilo 1.10.x branch
Add pChart classes use in flatview table
Test graphs
186, 206, 151 210, 148, 147 148, 170, 208 221, 133, 61 65, 153, 176 114, 88, 144 138, 166, 78 171, 70, 67 69, 115, 168
Update PR
Updated by Yannick Warnier about 6 years ago
- Category set to Tracking / Reporting
- Status changed from Assigned to Feature implemented
- % Done changed from 70 to 100
This upgrade has been implemented and is working. Nice job!