2021-05-17 17:52 GMT+02:00, Andy Lewis <
andy3...@gmail.com>:
> Hello Kiko
>
> Thank you for taking the time to look at the package and write your
> comments. I do not think you are being rude! ;-)
> I will try to reply each comment/question.
>
> Firstly, my motivation is that I write the software I need for my own
> website. I make it publicly available because it may be useful to other
> people as well. I decided about 8 years ago that I would switch to Brython
> from Javascript for the client-side scripts of my website, and have used it
>
> ever since.
>
> *-The behaviour of the legend in piecharts can be improved. *
> I'm not sure what you mean - could you be more specific?
It was related with the next comment (drag&drop). I can drag and drop
the elements of the legend but there was a problem with "undrag" the
element.
>
> *-The fact that I can drag and drop everything is not useful as it is right
>
> now. *
> That was accidental! I have prevented them from being dragged now.
>
I think is is better like this.
> *-Lack of interactivity. For most of the cases I can use a static image. *
> What interactivity would you like to see? For example, now if you hover
> over the points on the scattergraph demo, information about the point is
> displayed. Is that the type of thing you mean? Or something else?
> Also, you couldn't use a static image if you were graphing real-time data.
>
Simple stuff like what you can see when you use bokeh or plotly, zoom,
pan, home (back to the original plot), tooltips with the value of the
data (columns, scatter,...).
> *-Size of the lib is almost 80Kb with limited capacity.*
> At this early stage I hadn't thought about the size. I had a quick look and
>
> reduced it to 64Kb, with a bit more thought it could be smaller, maybe
> 50Kb.
This is not a problem itself. I was just wondering that maybe the less
resistance path would be to reuse one of the established libs and
use/wrap only what you need. It will be lighter (from the brython
perspective) but you add new dependencies (and it could result in more
size).
>
> *-why not a wrapper for ChartJS, HighCharts, plotlyJS, BokehJS,...?*
> I don't know those packages; also I try to keep my website pure-Brython so
> far as possible.
> After your suggestion I had a look at ChartJS, but it doesn't seem to do
> Histograms or Cumulative Frequency Graphs, which I need. (The graphs I have
>
> included so far are the ones I need, which are those taught in schools in
> the UK. If anyone requests other types, I will add them.)
> In any case it would probably have taken me longer to write wrappers round
> ChartJS functions than write my own code, since I already had a lot of the
> underlying code written for other projects.
Yes, this is one of the hidden stuff I do not see when I was thinking
in constructive criticism. It has sense to reuse your own code.
> Bit I agree that probably most other people would find those packages more
> useful.
If Brycharts is useful for you for sure it will be useful for others.
Keep the good work and thanks for sharing it!!!!
> --
> You received this message because you are subscribed to the Google Groups
> "brython" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
brython+u...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/brython/f227f42e-352e-492e-b5cc-618caa11208en%40googlegroups.com.
>