showing results for - "jvectormap color regions"
Angela
12 Jan 2018
1(function() {
2    var myCustomColors = {
3        'AU-SA': '#4E7387',
4        'AU-WA': '#333333',
5        'AU-VIC': '#89AFBF',
6        'AU-TAS': '#817F8E',
7        'AU-QLD': '#344B5E',
8        'AU-NSW': '#344B5E',
9        'AU-ACT': '#344B5E',
10        'AU-NT': '#344B5E'
11    };
12
13    map = new jvm.WorldMap({
14        map: 'au_merc_en',
15        container: $('#ausie'),
16        backgroundColor: '#eff7ff',
17        series: {
18            regions: [{
19                attribute: 'fill'
20            }]
21        }
22    });
23
24    map.series.regions[0].setValues(myCustomColors);
25})();
26
similar questions
queries leading to this page
jvectormap color regions