Re: Shall we use SVG to draw Gantt Charts?
Alexánder Alzate Olaya via planner-dev-list <[email protected]> Wed, 03 May 2017 08:27:40 -0500
| Newsgroups | gmane.comp.gnome.apps.planner.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============0339049083954050835== Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-50tTX3jyElwZf/k+n93u" --=-50tTX3jyElwZf/k+n93u Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2017-05-03 at 09:07 +0200, Alexandre Franke wrote: > On Wed, May 3, 2017 at 3:45 AM, Alex=C3=A1nder Alzate Olaya via > planner-dev-list <[email protected]> wrote: > > Hi all, >=20 > Hi, Hi >=20 > > I was wondering if it's too difficult to use SVG (a la Dia) to draw > > the > > Gantt Chart instead of using widgets. IMHO this way is easiest to > > export the chart without worrying about the final result. >=20 > What makes you think Dia uses SVG? Sorry, I was wrong, Dia uses SVG just for shapes importing. > SVG is just a serialisation format (i.e. a way to load/save data).=20 I cannot agree with that, Scalable Vector Graphics are meant to be scalable. > SVG is not magic and just because you use it as a format doesn=E2=80=99t = mean > it will automatically be drawn. Of course, we need a SVG drawing library to do so. > SVG is also meant for drawings and the Gantt chart in Planner is way > more than that. It is an interactive representation of data. You can > drag the ends of tasks to make them longer, you can drag and drop > from a task to an other to define a dependency=E2=80=A6 You *need* a widg= et > to handle that kind of things. The question is whether you have one > big widget (what we have currently) that handles everything, or if > you split that work accross smaller components, each of which would > be widgets. What I like about SVG is that you can script the drawing making it interactive, you can even store data in object's properties, you can modify shapes properties and so on. Actually, there are bunch of web games based on SVG + JS. All this SVG thing comes from the fact that libgnomecanvas needs to be replaced into the project and IMHO SVG could be a good alternative. --=-50tTX3jyElwZf/k+n93u Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEreow9THrAb3xDLFHrOWRUit5cVoFAlkJ2swACgkQrOWRUit5 cVpIUwgAkJJaKPdjN4M04FyrRIjKqwX8L73MC+hd9mXoJHkbctvCSLoos0xCwgq6 xAydJBvqTF6+Nrtk8RH3k3b2Bfbm7pijwu6DBI+5oCS5iOfJmGPi90kqSmedpnr5 /EKLajobabaWsK4rb73peLmkVlYhbNB15jPplJ4PBKVNcYvSVMrP97tbk5MK2Q51 WwjSJAVBS/5j7UagmKkdVKrp1/rSVljNhE8rJ6kUlwQ8DibapMlFPJEEMUI8g90l vubKVPq7EgT12kp+zAWWgTerI6K+He6yLoatVwSJKexn3re1xt/AykRmGdlm8QVp X0CNfRVGasNkOxsUzFTo2hqd7jbAng== =g1/7 -----END PGP SIGNATURE----- --=-50tTX3jyElwZf/k+n93u-- --===============0339049083954050835== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ planner-dev-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/planner-dev-list --===============0339049083954050835==--