Examples

Real Examples
Basic Examples

dashboard-sun.xml

Download mugl: dashboard-sun.xml Open in Tester
<mugl>
  <window border="0" margin="0" padding="0"/>
  <legend visible="false"/>
  <plotarea marginbottom="50" marginleft="60" marginright="25" margintop="10"/>
  <horizontalaxis highlightstyle="labels" id="year" linewidth="0" max="2010" min="1960" tickmax="0" tickmin="-4" type="datetime">
    <grid/>
    <labels>
      <label format="%Y" spacing="500Y 200Y 100Y 50Y 20Y 10Y 5Y 2Y 1Y"/>
      <label format="%n %y" spacing="6M 3M 2M 1M"/>
	</labels>
    <title anchor="0 5" position="0 0">Year</title>
  </horizontalaxis>
  <verticalaxis highlightstyle="labels" id="wm2" linewidth="0" max="1380" min="1340" tickmax="0" tickmin="-4" type="number">
    <labels densityfactor="0.5" format="%.2f" spacing="50 20 10 5 2 1 0.5 0.10 0.05 0.01"/>
    <grid/>
    <title anchor="0 -4" angle="90" position="-20 0">Sun's Energy (watts per square meter)</title>
    
    
  </verticalaxis>
  
  <plot>
    <horizontalaxis ref="year">
      <variable ref="year"/>
    </horizontalaxis>
    <verticalaxis ref="wm2">
      <variable ref="sunsenergy"/>
    </verticalaxis>
    <renderer type="fill">
      <option name="linecolor" value="0x90480f"/>
      <option name="linewidth" value="1.0"/>
      <option name="fillcolor" value="0xed7619"/>
      <option name="fillopacity" value="0.1"/>
    </renderer>
    <datatips format="{0}: {1}">
      <variable format="'%y"/>
      <variable format="%.1f"/>
    </datatips>
  </plot>
  <data>
    <variables>
      <variable column="0" id="year" type="datetime"/>
      <variable column="1" id="sunsenergy"/>
    </variables>
    <values>1610,1360.6728
    1611,1360.6559
    1612,1361.0538
    1613,1361.1658
    1614,1361.2402
    1615,1360.9573
    1616,1360.5407
    1617,1360.4148
    1618,1360.4042
    1619,1360.4943
    1620,1360.4904
    1621,1360.4866
    1622,1360.4827
    1623,1360.4789
    1624,1360.4380
    1625,1360.6562
    1626,1360.5450
    1627,1360.4677
    1628,1360.4777
    1629,1360.4181
    1630,1360.2687
    1631,1360.2774
    1632,1360.2442
    1633,1360.3417
    1634,1360.2621
    1635,1360.2670
    1636,1360.2339
    1637,1360.2305
    1638,1360.6969
    1639,1360.7500
    1640,1360.3195
    1641,1360.2074
    1642,1360.5265
    1643,1360.3083
    1644,1360.2531
    1645,1360.1713
    1646,1360.1708
    1647,1360.1702
    1648,1360.1683
    1649,1360.1658
    1650,1360.1648
    1651,1360.1642
    1652,1360.1916
    1653,1360.1698
    1654,1360.1617
    1655,1360.1519
    1656,1360.1508
    1657,1360.1458
    1658,1360.1404
    1659,1360.1384
    1660,1360.1518
    1661,1360.1437
    1662,1360.1384
    1663,1360.1384
    1664,1360.1385
    1665,1360.1386
    1666,1360.1386
    1667,1360.1384
    1668,1360.1381
    1669,1360.1381
    1670,1360.1381
    1671,1360.1442
    1672,1360.1407
    1673,1360.1381
    1674,1360.1394
    1675,1360.1379
    1676,1360.1498
    1677,1360.1393
    1678,1360.1387
    1679,1360.1374
    1680,1360.1429
    1681,1360.1374
    1682,1360.1374
    1683,1360.1374
    1684,1360.1470
    1685,1360.1376
    1686,1360.1418
    1687,1360.1385
    1688,1360.1418
    1689,1360.1405
    1690,1360.1402
    1691,1360.1416
    1692,1360.1431
    1693,1360.1436
    1694,1360.1438
    1695,1360.1445
    1696,1360.1437
    1697,1360.1437
    1698,1360.1438
    1699,1360.1443
    1700,1360.1475
    1701,1360.1495
    1702,1360.1525
    1703,1360.1703
    1704,1360.1853
    1705,1360.2011
    1706,1360.1896
    1707,1360.2061
    1708,1360.1917
    1709,1360.1873
    1710,1360.1893
    1711,1360.1998
    1712,1360.2057
    1713,1360.2122
    1714,1360.2282
    1715,1360.2553
    1716,1360.2953
    1717,1360.3553
    1718,1360.2966
    1719,1360.4688
    1720,1360.4118
    1721,1360.4139
    1722,1360.3468
    1723,1360.3096
    1724,1360.3940
    1725,1360.3833
    1726,1360.5533
    1727,1360.5586
    1728,1360.7496
    1729,1360.4738
    1730,1360.7864
    1731,1360.3071
    1732,1360.4349
    1733,1360.3243
    1734,1360.3345
    1735,1360.4645
    1736,1360.6745
    1737,1360.5086
    1738,1360.4629
    1739,1360.7054
    1740,1360.4070
    1741,1360.7366
    1742,1360.4506
    1743,1360.3957
    1744,1360.3396
    1745,1360.3423
    1746,1360.3482
    1747,1360.3564
    1748,1360.7807
    1749,1360.8008
    1750,1360.7644
    1751,1360.5939
    1752,1360.5661
    1753,1360.5479
    1754,1360.4610
    1755,1360.4479
    1756,1360.4760
    1757,1360.5993
    1758,1360.7126
    1759,1360.7760
    1760,1360.7513
    1761,1360.9157
    1762,1360.7773
    1763,1360.7070
    1764,1360.6832
    1765,1360.5324
    1766,1360.5018
    1767,1360.7076
    1768,1360.9605
    1769,1361.1453
    1770,1361.1479
    1771,1361.0414
    1772,1360.9692
    1773,1360.7502
    1774,1360.7121
    1775,1360.5752
    1776,1360.6298
    1777,1360.7915
    1778,1361.0214
    1779,1361.0793
    1780,1360.9012
    1781,1361.0127
    1782,1360.7476
    1783,1360.6543
    1784,1360.5225
    1785,1360.5817
    1786,1360.8941
    1787,1361.0596
    1788,1361.0060
    1789,1360.9854
    1790,1360.8863
    1791,1360.7360
    1792,1360.7220
    1793,1360.7015
    1794,1360.6075
    1795,1360.4904
    1796,1360.4607
    1797,1360.4076
    1798,1360.3826
    1799,1360.3888
    1800,1360.4294
    1801,1360.7016
    1802,1360.5800
    1803,1360.4477
    1804,1360.4516
    1805,1360.4620
    1806,1360.3644
    1807,1360.2969
    1808,1360.2717
    1809,1360.2439
    1810,1360.2353
    1811,1360.2481
    1812,1360.2890
    1813,1360.3376
    1814,1360.3614
    1815,1360.4165
    1816,1360.5125
    1817,1360.4859
    1818,1360.4378
    1819,1360.4227
    1820,1360.3669
    1821,1360.3453
    1822,1360.3691
    1823,1360.3742
    1824,1360.4152
    1825,1360.4886
    1826,1360.5918
    1827,1360.7030
    1828,1360.7905
    1829,1360.8084
    1830,1360.8494
    1831,1360.6844
    1832,1360.5824
    1833,1360.4871
    1834,1360.5225
    1835,1360.7836
    1836,1361.1652
    1837,1361.2386
    1838,1361.0256
    1839,1360.9433
    1840,1360.8266
    1841,1360.6749
    1842,1360.6199
    1843,1360.5496
    1844,1360.5802
    1845,1360.7079
    1846,1360.8062
    1847,1360.9075
    1848,1361.1040
    1849,1361.0950
    1850,1360.8957
    1851,1360.9003
    1852,1360.8206
    1853,1360.7107
    1854,1360.5873
    1855,1360.5087
    1856,1360.5112
    1857,1360.6205
    1858,1360.8134
    1859,1361.0313
    1860,1361.0977
    1861,1360.9882
    1862,1360.8379
    1863,1360.7542
    1864,1360.6919
    1865,1360.6014
    1866,1360.5378
    1867,1360.4856
    1868,1360.6453
    1869,1360.8816
    1870,1361.1203
    1871,1361.0602
    1872,1361.0135
    1873,1360.8125
    1874,1360.6841
    1875,1360.5354
    1876,1360.4852
    1877,1360.4855
    1878,1360.4568
    1879,1360.4792
    1880,1360.6259
    1881,1360.7702
    1882,1360.7935
    1883,1360.8406
    1884,1360.7425
    1885,1360.6329
    1886,1360.4676
    1887,1360.4241
    1888,1360.3887
    1889,1360.3603
    1890,1360.3949
    1891,1360.6463
    1892,1360.7449
    1893,1360.8859
    1894,1360.9812
    1895,1360.8649
    1896,1360.6840
    1897,1360.5385
    1898,1360.5158
    1899,1360.4640
    1900,1360.4333
    1901,1360.3551
    1902,1360.3637
    1903,1360.5738
    1904,1360.8439
    1905,1360.6550
    1906,1360.8514
    1907,1360.7356
    1908,1360.8007
    1909,1360.6901
    1910,1360.5568
    1911,1360.4732
    1912,1360.4269
    1913,1360.4434
    1914,1360.5103
    1915,1360.8149
    1916,1361.0249
    1917,1361.1739
    1918,1361.1355
    1919,1360.9061
    1920,1360.7437
    1921,1360.6386
    1922,1360.5207
    1923,1360.5524
    1924,1360.5840
    1925,1360.7881
    1926,1360.8892
    1927,1361.0727
    1928,1360.9504
    1929,1360.9092
    1930,1360.8914
    1931,1360.7695
    1932,1360.6623
    1933,1360.5415
    1934,1360.6534
    1935,1360.8698
    1936,1361.2592
    1937,1361.1935
    1938,1361.1290
    1939,1361.1127
    1940,1361.0501
    1941,1360.9710
    1942,1360.8678
    1943,1360.7100
    1944,1360.7399
    1945,1361.0069
    1946,1361.1050
    1947,1361.3444
    1948,1361.4749
    1949,1361.3814
    1950,1361.1390
    1951,1360.9024
    1952,1360.8935
    1953,1360.7543
    1954,1360.7823
    1955,1360.9032
    1956,1361.4368
    1957,1361.7940
    1958,1361.7587
    1959,1361.5087
    1960,1361.4026
    1961,1361.0458
    1962,1360.8743
    1963,1360.8222
    1964,1360.8235
    1965,1360.8600
    1966,1361.0437
    1967,1361.2402
    1968,1361.2903
    1969,1361.3735
    1970,1361.3685
    1971,1361.0839
    1972,1361.1784
    1973,1360.9250
    1974,1360.8530
    1975,1360.6604
    1976,1360.7712
    1977,1360.9590
    1978,1361.4006
    1979,1361.7607
    1980,1361.7741
    1981,1361.8210
    1982,1361.4118
    1983,1361.3251
    1984,1360.9362
    1985,1360.7675
    1986,1360.7638
    1987,1360.9158
    1988,1361.2085
    1989,1361.7738
    1990,1361.6792
    1991,1361.5716
    1992,1361.4280
    1993,1361.1545
    1994,1360.9230
    1995,1360.8255
    1996,1360.7380
    1997,1360.8658
    1998,1361.2280
    1999,1361.5110
    2000,1361.7913
    2001,1361.7281
    2002,1361.8066
    2003,1361.3080
    2004,1361.1849
    2005,1361.0062
    2006,1360.9401
    2007,1360.8497
    2008,1360.8225
    2009,1360.8416
    2010,1361.0830
    2011,1361.3473
  </values>
</data>
</mugl>