Re: doc.php.net proposal - switch to chart.js?
| From: | Jesus M. Castagnetto | Date: | Mon, 21 Mar 2016 19:04:38 +0000 |
| Subject: | Re: doc.php.net proposal - switch to chart.js? | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969386054@lists.php.net to get a copy of this message | ||
IMHO this is a good idea. Simplifies upkeep, and for the few charts that
are being used.
What I am not sure is where are we putting generated charts in the PHP
manual? (I am old and forgetful :-)
Cheers
--
Jesus M. Castagnetto <jesus@castagnetto.com>
Web: http://www.castagnetto.com/
On Sat, Mar 19, 2016 at 11:28 AM, Maciej Sobaczewski <sobak@php.net> wrote:
> Hello guys,
>
> I'm wondering if you care about switching from jpgraph to something like
> chart.js on doc.php.net. It isn't any blocker issue but maybe we could
> just benefit from such move?
>
> Advantages
> - we can't keep jpgraph in our git repo, that's a serious problem IMO -
> chart.js can either be versioned or pulled from CDN (I'm not sure what's
> preffered here)
> - we would get rid of big 3rd party library written years ago for ancient
> versions of PHP
> - charts produced by jpGraph aren't pretty (that's, of course, purely
> subjective and it's not a big deal, but something we can take into
> consideration)
>
> Disadvantages
> - limited browser support (
> http://www.chartjs.org/docs/#notes-browser-support)
> - charts are rendered client-side (what can also be an advantage,
> depending on a point of view)
>
> Like I said on the beginning, it isn't something very important for me -
> just a humble proposal/question. Chart.js could be also replaced by any
> other library, but I think it's a sane choice.
>
> Cheers,
> Maciej.
>
> ---
> Ta wiadomość została sprawdzona na obecność wirusów przez oprogramowanie
> antywirusowe Avast.
> https://www.avast.com/antivirus
>
>