<?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 make the theme option working in the Amchart]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I am trying to change the theme option in any of the chart but it seems that it didn't work. I had folowwed instructions as what you mentioned to load the amCharts theme in the app.js but it didn';t work either.</p>
<p dir="auto">In my app.js file,</p>
<p dir="auto">/**</p>
<ul>
<li>@copyright 2016 {@link <a href="http://infiniteautomation.com%7CInfinite">http://infiniteautomation.com|Infinite</a> Automation Systems, Inc.} All rights reserved.</li>
<li>@author Jared Wiltshire<br />
*/</li>
</ul>
<p dir="auto">define([<br />
'angular',<br />
'mango-3.3/maMaterialDashboards',<br />
'mango-3.3/maAppComponents',<br />
'require',<br />
'./services/Page',<br />
'./directives/pageView/pageView',<br />
'./directives/liveEditor/livePreview',<br />
'moment-timezone',<br />
'angular-ui-router',<br />
'oclazyload',<br />
'angular-loading-bar',<br />
'./views/docs/docs-setup',<br />
'amcharts/themes/dark'<br />
], function(angular, maMaterialDashboards, maAppComponents, require, Page, pageView, livePreview, moment) {<br />
'use strict';....</p>
<p dir="auto">I added the that line which you mentioned at the end. However, there is no effect on the chart colour.<br />
Please see the chart option as below:</p>
<p dir="auto">ma-serial-chart style="height: 300px; width: 100%" series-1-values="point1Values" series-1-point="point1" legend="true" balloon="true" export="true"<br />
options="{theme: 'dark', chartScrollbar:{'enabled': true, 'scrollbarHeight': 5}, export: {'position': 'bottom-right'}, valueAxes: [{'id': 'ValueAxis-1','color': '#FFFFFF'}]}"</p>
<blockquote></blockquote>
<p dir="auto">&lt;/ma-serial-chart&gt;</p>
<p dir="auto">Can you please see what other settings need to be done in order for the theme to work in the chart? Thanks alot.</p>
<p dir="auto">Regards,<br />
Mok Kiew</p>
]]></description><link>https://forum.mango-os.com/topic/2712/how-to-make-the-theme-option-working-in-the-amchart</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 20:44:48 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/2712.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 27 Mar 2017 03:19:34 GMT</pubDate><ttl>60</ttl></channel></rss>