[MapServer-users] rotate pie chart / start at 12 o'clock
Jörg Thomsen (WhereGroup)
joerg.thomsen at wheregroup.com
Mon Mar 17 07:48:34 PDT 2025
Hi Jukka,
thanks for the answer! It is better to know what does not work than not
knowing if. And sometimes there are undocumented features or hacks.
And you are right, 45° != 90°
I wonder whether starting pie-charts at 3 o'clock is the international /
american / french way to start with the first wedge? I've learned to
start at 12 o'clock, QGIS starts at 12 o'clock. Why doesn't MapServer?
Regards, Jörg
Am 17.03.25 um 14:13 schrieb Rahkonen Jukka:
> Hi,
>
> I do not really know, but I do not find such option from the documentation https://mapserver.org/output/dynamic_charting.html.
> I can see something about starts and angles in the source code
>
> https://github.com/MapServer/MapServer/blob/530f2bfdd99f27541ea9d08dc043d7e3c1e8f38c/src/mapchart.c#L257
>
> So, now you have an answer, but I fear I could not make you much happier. BTW there may be more than 45 degrees between 3 o'clock and 12 o'clock, but it does not matter.
>
> -Jukka Rahkonen-
>
>
> ________________________________________
> Lähettäjä: MapServer-users käyttäjän Jörg Thomsen (WhereGroup) via MapServer-users puolesta
> Lähetetty: Maanantai 17. maaliskuuta 2025 14.48
> Vastaanottaja: mapserver-users at lists.osgeo.org
> Aihe: [MapServer-users] rotate pie chart / start at 12 o'clock
>
>
> Hello,
>
> here again my so far unanswered question (I apologize for overlooking
> the answer, if there was one):
>
> is it possible to rotate a pie chart by -45 degree?
> The first piece of cake should start at 12 o'clock, not at 3 o'clock
>
> Jörg
>
> _______________________________________________
> MapServer-users mailing list
> MapServer-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>
--
Viele Grüße,
Jörg Thomsen
---------------------------------------------
WhereGroup Shorts 2025 - am 15. Mai
Im Fokus: PostgreSQL & PostGIS
Online als ZOOM-Meeting
https://wheregroup.com/shorts/
---------------------------------------------
Jörg Thomsen
WhereGroup GmbH
Bundesallee 23
10717 Berlin
Germany
Tel: +49 (0)30 / 5130 278 74
Fax: +49 (0)30 / 5130 278 11
joerg.thomsen at wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
More information about the MapServer-users
mailing list