Changing date format in graphs
Posted: Tue Oct 10, 2023 12:40 am
Hi,
I use floating text to indicate my last point on subtitles of graph.
Basically, here are typical lines I would write:
{%g}.addtext(t,font(calibri,14,b)) "Dette privée (% de PIB mondial)"
{%g}.addtext(1.80, -0.32,font(calibri,12), keep) Source: BRI, dernier point: {%last}
%last referring to a date.
But the date appears on the graph automatically with the format mm/dd/yyyy and I would prefer to have it with the format dd/mm/yyyy (French usual presentation for dates).
How would it be possible?
I use floating text to indicate my last point on subtitles of graph.
Basically, here are typical lines I would write:
{%g}.addtext(t,font(calibri,14,b)) "Dette privée (% de PIB mondial)"
{%g}.addtext(1.80, -0.32,font(calibri,12), keep) Source: BRI, dernier point: {%last}
%last referring to a date.
But the date appears on the graph automatically with the format mm/dd/yyyy and I would prefer to have it with the format dd/mm/yyyy (French usual presentation for dates).
How would it be possible?