<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to change date format on chart?]]></title><description><![CDATA[<p dir="auto">How to change date format on chart x axis? I want to change "22 May" to "May 22" etc, is that possible?</p>
]]></description><link>https://forum.mango-os.com/topic/3510/how-to-change-date-format-on-chart</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 07:56:45 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/3510.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 21 May 2018 03:15:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to change date format on chart? on Tue, 22 May 2018 13:27:12 GMT]]></title><description><![CDATA[<p dir="auto">Thank you MattFox, I get it!</p>
]]></description><link>https://forum.mango-os.com/post/18545</link><guid isPermaLink="true">https://forum.mango-os.com/post/18545</guid><dc:creator><![CDATA[timkk880]]></dc:creator><pubDate>Tue, 22 May 2018 13:27:12 GMT</pubDate></item><item><title><![CDATA[Reply to How to change date format on chart? on Tue, 22 May 2018 04:03:14 GMT]]></title><description><![CDATA[<p dir="auto"><strong>I think I may have confused you a bit...</strong></p>
<p dir="auto">When you use the dashboard designer, one of the options for the maSerialChart is <strong>time-format</strong>.<br />
so:</p>
<pre><code>&lt;ma-serial-chart points="chartPoints" values="chartPointValues" time-format="DD mm"&gt;&lt;/ma-serial-chart&gt;
</code></pre>
<p dir="auto">I trust that is more along the lines of what you are trying to accomplish. Refer to the moment.js website for their docs if you are looking to format the time value in a specific manner.</p>
]]></description><link>https://forum.mango-os.com/post/18538</link><guid isPermaLink="true">https://forum.mango-os.com/post/18538</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Tue, 22 May 2018 04:03:14 GMT</pubDate></item><item><title><![CDATA[Reply to How to change date format on chart? on Tue, 22 May 2018 01:52:02 GMT]]></title><description><![CDATA[<p dir="auto">Thank you MattFox, phildunlap and Jared Wiltshire,<br />
I searched the folder, and only found momentFilter.js, moment-timezone-with-data.js, moment-with-locales.js, moment-timezone-with-data.min.js, moment-with-locales.min.js, which one I should modify? Is that mean to replace "string" to "YYYY/MM/DD"?</p>
]]></description><link>https://forum.mango-os.com/post/18537</link><guid isPermaLink="true">https://forum.mango-os.com/post/18537</guid><dc:creator><![CDATA[timkk880]]></dc:creator><pubDate>Tue, 22 May 2018 01:52:02 GMT</pubDate></item><item><title><![CDATA[Reply to How to change date format on chart? on Mon, 21 May 2018 18:15:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/phildunlap" aria-label="Profile: phildunlap">@<bdi>phildunlap</bdi></a> thanks Phil, I'll be sure to keep that in mind. Thank you both for your help</p>
]]></description><link>https://forum.mango-os.com/post/18527</link><guid isPermaLink="true">https://forum.mango-os.com/post/18527</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Mon, 21 May 2018 18:15:26 GMT</pubDate></item><item><title><![CDATA[Reply to How to change date format on chart? on Mon, 21 May 2018 15:41:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/timkk880" aria-label="Profile: timkk880">@<bdi>timkk880</bdi></a> FYI by default it uses locale aware formatting. You can try changing the system wide locale (under system settings, language settings), or just change your user's locale.</p>
]]></description><link>https://forum.mango-os.com/post/18524</link><guid isPermaLink="true">https://forum.mango-os.com/post/18524</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Mon, 21 May 2018 15:41:14 GMT</pubDate></item><item><title><![CDATA[Reply to How to change date format on chart? on Mon, 21 May 2018 15:33:40 GMT]]></title><description><![CDATA[<p dir="auto">Thanks Fox!</p>
<p dir="auto">Just to ensure for timkk880, when he says,</p>
<blockquote>
<p dir="auto">moment format</p>
</blockquote>
<p dir="auto">he means Moment.js format</p>
]]></description><link>https://forum.mango-os.com/post/18523</link><guid isPermaLink="true">https://forum.mango-os.com/post/18523</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Mon, 21 May 2018 15:33:40 GMT</pubDate></item><item><title><![CDATA[Reply to How to change date format on chart? on Mon, 21 May 2018 18:16:18 GMT]]></title><description><![CDATA[<pre><code>/ui/docs/ng-mango/ma-serial-chart
</code></pre>
<p dir="auto">Read the docs under API Docs -&gt; components -&gt; maSerialChart</p>
<p dir="auto">there's an attribute you can set to alter the format:</p>
<pre><code>time-format
(optional)
string	
The moment.js time format to be used in displaying timestamps on the X axis.
</code></pre>
<p dir="auto">Put your moment.js format in there and that will let you set the format to 'DD mm' etc</p>
]]></description><link>https://forum.mango-os.com/post/18515</link><guid isPermaLink="true">https://forum.mango-os.com/post/18515</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Mon, 21 May 2018 18:16:18 GMT</pubDate></item></channel></rss>