Re: doc.php.net proposal - switch to chart.js?
| From: | Peter Cowburn | Date: | Fri, 01 Apr 2016 15:21:48 +0000 |
| Subject: | Re: doc.php.net proposal - switch to chart.js? | ||
| References: | 1 2 3 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969386078@lists.php.net to get a copy of this message | ||
On 28 March 2016 at 04:07, Hannes Magnusson <hannes.magnusson@gmail.com>
wrote:
> Its not the manual, its the translation overview :)
>
> Maciej: Yes please.
>
Indeed, yes please Maciej. :)
>
> -Hannes
>
>
> On Mon, Mar 21, 2016 at 12:04 PM, Jesus M. Castagnetto
> <jesus@castagnetto.com> wrote:
> > 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
> >>
> >
>