Examples

Real Examples
Basic Examples

dashboard-oni.xml

Download mugl: dashboard-oni.xml Open in Tester
<mugl>
  <window border="0" margin="0" padding="0"/>
  <ui eventhandler="saui"/>
  <legend visible="false"/>
  <plotarea marginbottom="50" marginleft="60" marginright="25" margintop="10"/>

  <horizontalaxis highlightstyle="labels" id="x" linewidth="0" max="2010" min="2008" tickmax="0" tickmin="-4" type="datetime">
    <labels>
      <label format="%Y" spacing="100Y 50Y 20Y 10Y 5Y 2Y 1Y "/>
      <label format="%n %y" spacing="6M 3M 2M 1M"/>
    </labels>
    <title anchor="0 5" position="-10 0">Year</title>
    <grid color="0xeeeeee"/>
  </horizontalaxis>
  
  <verticalaxis highlightstyle="labels" id="y" linewidth="0" max="4" min="-4" tickmax="0" tickmin="-4">
    <labels>
      <label densityfactor="0.4" format="%1d" spacing="20 10 5 2 1"/>
      <label densityfactor="0.4" format="%.1f" spacing="0.5 0.2 0.1"/>
    </labels>
    <title anchor="0 -4" angle="90" position="-15 0">Oceanic NiƱo Index (C)</title>
    
    
    <grid color="0xeeeeee"/>
  </verticalaxis>
  
  <plot>
    <legend visible="false"/>
    <verticalaxis ref="y"><constant value="0"/></verticalaxis>
    <renderer type="line">
      <option name="linecolor" value="0x999999"/>
      <option name="linewidth" value="1"/>
    </renderer>
  </plot>

  <plot>
    <legend label="Yearly average"/>
    <horizontalaxis ref="x"><variable ref="datetime"/></horizontalaxis>
    <verticalaxis ref="y"><variable ref="minSQ"/></verticalaxis>
    <renderer type="bar">
      
      <option min="0.5" name="fillcolor" value="0xFFCC33"/>
      <option max="0.5" min="0.0" name="fillcolor" value="0x888888"/>
      <option max="0.0" min="-0.5" name="fillcolor" value="0x888888"/>
      <option max="-0.5" name="fillcolor" value="0x66CCFF"/>
      
      <option name="linecolor" value="0x000000"/>
      
      <option name="barwidth" value="1M"/>
      <option name="baroffset" value="0"/>
      <option name="barbase" value="0"/>
    </renderer>
    <datatips format="{0}: {1}">
      <variable format="%n '%y"/>
      <variable format="%.1f"/>
    </datatips>

  </plot>
  <data>
    <variables>
      <variable column="0" id="datetime" type="datetime"/>
      <variable column="1" id="minSQ" type="number"/>
    </variables>
    <values>195001,-1.700
    195002,-1.500
    195003,-1.300
    195004,-1.400
    195005,-1.300
    195006,-1.100
    195007,-0.800
    195008,-0.800
    195009,-0.800
    195010,-0.900
    195011,-0.900
    195012,-1.000
    195101,-1.000
    195102,-0.900
    195103,-0.600
    195104,-0.300
    195105,-0.200
    195106,0.200
    195107,0.400
    195108,0.700
    195109,0.700
    195110,0.800
    195111,0.700
    195112,0.600
    195201,0.300
    195202,0.100
    195203,0.100
    195204,0.200
    195205,0.100
    195206,-0.100
    195207,-0.300
    195208,-0.300
    195209,-0.200
    195210,-0.200
    195211,-0.100
    195212,0.000
    195301,0.200
    195302,0.400
    195303,0.500
    195304,0.500
    195305,0.500
    195306,0.500
    195307,0.400
    195308,0.400
    195309,0.400
    195310,0.400
    195311,0.400
    195312,0.400
    195401,0.500
    195402,0.300
    195403,-0.100
    195404,-0.500
    195405,-0.700
    195406,-0.700
    195407,-0.800
    195408,-1.000
    195409,-1.200
    195410,-1.100
    195411,-1.100
    195412,-1.100
    195501,-1.000
    195502,-0.900
    195503,-0.900
    195504,-1.000
    195505,-1.000
    195506,-1.000
    195507,-1.000
    195508,-1.000
    195509,-1.400
    195510,-1.800
    195511,-2.000
    195512,-1.900
    195601,-1.300
    195602,-0.900
    195603,-0.700
    195604,-0.600
    195605,-0.600
    195606,-0.600
    195607,-0.700
    195608,-0.800
    195609,-0.800
    195610,-0.900
    195611,-0.900
    195612,-0.800
    195701,-0.500
    195702,-0.100
    195703,0.300
    195704,0.600
    195705,0.700
    195706,0.900
    195707,0.900
    195708,0.900
    195709,0.900
    195710,1.000
    195711,1.200
    195712,1.500
    195801,1.700
    195802,1.500
    195803,1.200
    195804,0.800
    195805,0.600
    195806,0.500
    195807,0.300
    195808,0.100
    195809,0.000
    195810,0.000
    195811,0.200
    195812,0.400
    195901,0.400
    195902,0.500
    195903,0.400
    195904,0.200
    195905,0.000
    195906,-0.200
    195907,-0.400
    195908,-0.500
    195909,-0.400
    195910,-0.300
    195911,-0.200
    195912,-0.200
    196001,-0.300
    196002,-0.300
    196003,-0.300
    196004,-0.200
    196005,-0.200
    196006,-0.200
    196007,-0.100
    196008,0.000
    196009,-0.100
    196010,-0.200
    196011,-0.200
    196012,-0.200
    196101,-0.200
    196102,-0.200
    196103,-0.200
    196104,-0.100
    196105,0.100
    196106,0.200
    196107,0.000
    196108,-0.300
    196109,-0.600
    196110,-0.600
    196111,-0.500
    196112,-0.400
    196201,-0.400
    196202,-0.400
    196203,-0.400
    196204,-0.500
    196205,-0.400
    196206,-0.400
    196207,-0.300
    196208,-0.300
    196209,-0.500
    196210,-0.600
    196211,-0.700
    196212,-0.700
    196301,-0.600
    196302,-0.300
    196303,0.000
    196304,0.100
    196305,0.100
    196306,0.300
    196307,0.600
    196308,0.800
    196309,0.900
    196310,0.900
    196311,1.000
    196312,1.000
    196401,0.800
    196402,0.400
    196403,-0.100
    196404,-0.500
    196405,-0.800
    196406,-0.800
    196407,-0.900
    196408,-1.000
    196409,-1.100
    196410,-1.200
    196411,-1.200
    196412,-1.000
    196501,-0.800
    196502,-0.400
    196503,-0.200
    196504,0.000
    196505,0.300
    196506,0.600
    196507,1.000
    196508,1.200
    196509,1.400
    196510,1.500
    196511,1.600
    196512,1.500
    196601,1.200
    196602,1.000
    196603,0.800
    196604,0.500
    196605,0.200
    196606,0.200
    196607,0.200
    196608,0.000
    196609,-0.200
    196610,-0.200
    196611,-0.300
    196612,-0.300
    196701,-0.400
    196702,-0.400
    196703,-0.600
    196704,-0.500
    196705,-0.300
    196706,0.000
    196707,0.000
    196708,-0.200
    196709,-0.400
    196710,-0.500
    196711,-0.400
    196712,-0.500
    196801,-0.700
    196802,-0.900
    196803,-0.800
    196804,-0.700
    196805,-0.300
    196806,0.000
    196807,0.300
    196808,0.400
    196809,0.300
    196810,0.400
    196811,0.700
    196812,0.900
    196901,1.000
    196902,1.000
    196903,0.900
    196904,0.700
    196905,0.600
    196906,0.500
    196907,0.400
    196908,0.400
    196909,0.600
    196910,0.700
    196911,0.800
    196912,0.700
    197001,0.500
    197002,0.300
    197003,0.200
    197004,0.100
    197005,0.000
    197006,-0.300
    197007,-0.600
    197008,-0.800
    197009,-0.900
    197010,-0.800
    197011,-0.900
    197012,-1.100
    197101,-1.300
    197102,-1.300
    197103,-1.100
    197104,-0.900
    197105,-0.800
    197106,-0.800
    197107,-0.800
    197108,-0.800
    197109,-0.800
    197110,-0.900
    197111,-1.000
    197112,-0.900
    197201,-0.700
    197202,-0.400
    197203,0.000
    197204,0.200
    197205,0.500
    197206,0.800
    197207,1.000
    197208,1.300
    197209,1.500
    197210,1.800
    197211,2.000
    197212,2.100
    197301,1.800
    197302,1.200
    197303,0.500
    197304,-0.100
    197305,-0.600
    197306,-0.900
    197307,-1.100
    197308,-1.300
    197309,-1.400
    197310,-1.700
    197311,-2.000
    197312,-2.100
    197401,-1.900
    197402,-1.700
    197403,-1.300
    197404,-1.100
    197405,-0.900
    197406,-0.800
    197407,-0.600
    197408,-0.500
    197409,-0.500
    197410,-0.700
    197411,-0.900
    197412,-0.700
    197501,-0.600
    197502,-0.600
    197503,-0.700
    197504,-0.800
    197505,-0.900
    197506,-1.100
    197507,-1.200
    197508,-1.300
    197509,-1.500
    197510,-1.600
    197511,-1.700
    197512,-1.700
    197601,-1.600
    197602,-1.200
    197603,-0.800
    197604,-0.600
    197605,-0.500
    197606,-0.200
    197607,0.100
    197608,0.300
    197609,0.500
    197610,0.700
    197611,0.800
    197612,0.700
    197701,0.600
    197702,0.500
    197703,0.200
    197704,0.200
    197705,0.200
    197706,0.400
    197707,0.400
    197708,0.400
    197709,0.500
    197710,0.600
    197711,0.700
    197712,0.700
    197801,0.700
    197802,0.400
    197803,0.000
    197804,-0.300
    197805,-0.400
    197806,-0.400
    197807,-0.400
    197808,-0.400
    197809,-0.400
    197810,-0.300
    197811,-0.200
    197812,-0.100
    197901,-0.100
    197902,0.000
    197903,0.100
    197904,0.100
    197905,0.100
    197906,-0.100
    197907,0.000
    197908,0.100
    197909,0.300
    197910,0.400
    197911,0.500
    197912,0.500
    198001,0.500
    198002,0.300
    198003,0.200
    198004,0.200
    198005,0.300
    198006,0.300
    198007,0.200
    198008,0.000
    198009,-0.100
    198010,-0.100
    198011,0.000
    198012,-0.100
    198101,-0.300
    198102,-0.500
    198103,-0.500
    198104,-0.400
    198105,-0.300
    198106,-0.300
    198107,-0.400
    198108,-0.400
    198109,-0.300
    198110,-0.200
    198111,-0.100
    198112,-0.100
    198201,0.000
    198202,0.100
    198203,0.100
    198204,0.300
    198205,0.600
    198206,0.700
    198207,0.700
    198208,1.000
    198209,1.500
    198210,1.900
    198211,2.200
    198212,2.300
    198301,2.300
    198302,2.000
    198303,1.500
    198304,1.200
    198305,1.000
    198306,0.600
    198307,0.200
    198308,-0.200
    198309,-0.600
    198310,-0.800
    198311,-0.900
    198312,-0.700
    198401,-0.400
    198402,-0.200
    198403,-0.200
    198404,-0.300
    198405,-0.500
    198406,-0.400
    198407,-0.300
    198408,-0.200
    198409,-0.300
    198410,-0.600
    198411,-0.900
    198412,-1.100
    198501,-0.900
    198502,-0.800
    198503,-0.700
    198504,-0.700
    198505,-0.700
    198506,-0.600
    198507,-0.500
    198508,-0.500
    198509,-0.500
    198510,-0.400
    198511,-0.300
    198512,-0.400
    198601,-0.500
    198602,-0.400
    198603,-0.200
    198604,-0.200
    198605,-0.100
    198606,0.000
    198607,0.300
    198608,0.500
    198609,0.700
    198610,0.900
    198611,1.100
    198612,1.200
    198701,1.200
    198702,1.300
    198703,1.200
    198704,1.100
    198705,1.000
    198706,1.200
    198707,1.400
    198708,1.600
    198709,1.600
    198710,1.500
    198711,1.300
    198712,1.100
    198801,0.700
    198802,0.500
    198803,0.100
    198804,-0.200
    198805,-0.700
    198806,-1.200
    198807,-1.300
    198808,-1.200
    198809,-1.300
    198810,-1.600
    198811,-1.900
    198812,-1.900
    198901,-1.700
    198902,-1.500
    198903,-1.100
    198904,-0.800
    198905,-0.600
    198906,-0.400
    198907,-0.300
    198908,-0.300
    198909,-0.300
    198910,-0.300
    198911,-0.200
    198912,-0.100
    199001,0.100
    199002,0.200
    199003,0.200
    199004,0.200
    199005,0.200
    199006,0.200
    199007,0.300
    199008,0.300
    199009,0.300
    199010,0.300
    199011,0.300
    199012,0.400
    199101,0.400
    199102,0.300
    199103,0.300
    199104,0.400
    199105,0.600
    199106,0.800
    199107,1.000
    199108,0.900
    199109,0.900
    199110,1.000
    199111,1.400
    199112,1.600
    199201,1.800
    199202,1.600
    199203,1.500
    199204,1.400
    199205,1.200
    199206,0.800
    199207,0.500
    199208,0.200
    199209,0.000
    199210,-0.100
    199211,0.000
    199212,0.200
    199301,0.300
    199302,0.400
    199303,0.600
    199304,0.700
    199305,0.800
    199306,0.700
    199307,0.400
    199308,0.400
    199309,0.400
    199310,0.400
    199311,0.300
    199312,0.200
    199401,0.200
    199402,0.200
    199403,0.300
    199404,0.400
    199405,0.500
    199406,0.500
    199407,0.600
    199408,0.600
    199409,0.700
    199410,0.900
    199411,1.200
    199412,1.300
    199501,1.200
    199502,0.900
    199503,0.700
    199504,0.400
    199505,0.300
    199506,0.200
    199507,0.000
    199508,-0.200
    199509,-0.500
    199510,-0.600
    199511,-0.700
    199512,-0.700
    199601,-0.700
    199602,-0.700
    199603,-0.500
    199604,-0.300
    199605,-0.100
    199606,-0.100
    199607,0.000
    199608,-0.100
    199609,-0.100
    199610,-0.200
    199611,-0.300
    199612,-0.400
    199701,-0.400
    199702,-0.300
    199703,0.000
    199704,0.400
    199705,0.800
    199706,1.300
    199707,1.700
    199708,2.000
    199709,2.200
    199710,2.400
    199711,2.500
    199712,2.500
    199801,2.300
    199802,1.900
    199803,1.500
    199804,1.000
    199805,0.500
    199806,0.000
    199807,-0.500
    199808,-0.800
    199809,-1.000
    199810,-1.100
    199811,-1.300
    199812,-1.400
    199901,-1.400
    199902,-1.200
    199903,-0.900
    199904,-0.800
    199905,-0.800
    199906,-0.800
    199907,-0.900
    199908,-0.900
    199909,-1.000
    199910,-1.100
    199911,-1.300
    199912,-1.600
    200001,-1.600
    200002,-1.400
    200003,-1.000
    200004,-0.800
    200005,-0.600
    200006,-0.500
    200007,-0.400
    200008,-0.400
    200009,-0.400
    200010,-0.500
    200011,-0.600
    200012,-0.700
    200101,-0.600
    200102,-0.500
    200103,-0.400
    200104,-0.200
    200105,-0.100
    200106,0.100
    200107,0.200
    200108,0.200
    200109,0.100
    200110,0.000
    200111,-0.100
    200112,-0.100
    200201,-0.100
    200202,0.100
    200203,0.200
    200204,0.400
    200205,0.700
    200206,0.800
    200207,0.900
    200208,1.000
    200209,1.100
    200210,1.300
    200211,1.500
    200212,1.400
    200301,1.200
    200302,0.900
    200303,0.500
    200304,0.100
    200305,-0.100
    200306,0.100
    200307,0.400
    200308,0.500
    200309,0.600
    200310,0.500
    200311,0.600
    200312,0.400
    200401,0.400
    200402,0.300
    200403,0.200
    200404,0.200
    200405,0.300
    200406,0.500
    200407,0.700
    200408,0.800
    200409,0.900
    200410,0.800
    200411,0.800
    200412,0.800
    200501,0.700
    200502,0.500
    200503,0.400
    200504,0.400
    200505,0.400
    200506,0.400
    200507,0.400
    200508,0.300
    200509,0.200
    200510,-0.100
    200511,-0.400
    200512,-0.700
    200601,-0.700
    200602,-0.600
    200603,-0.400
    200604,-0.100
    200605,0.100
    200606,0.200
    200607,0.300
    200608,0.500
    200609,0.600
    200610,0.900
    200611,1.100
    200612,1.100
    200701,0.800
    200702,0.400
    200703,0.100
    200704,-0.100
    200705,-0.100
    200706,-0.100
    200707,-0.100
    200708,-0.400
    200709,-0.700
    200710,-1.000
    200711,-1.100
    200712,-1.300
    200801,-1.400
    200802,-1.400
    200803,-1.100
    200804,-0.800
    200805,-0.600
    200806,-0.400
    200807,-0.100
    200808,0.000
    200809,0.000
    200810,0.000
    200811,-0.300
    200812,-0.600
    200901,-0.800
    200902,-0.700
    200903,-0.500
    200904,-0.100
    200905,0.200
    200906,0.600
    200907,0.700
    200908,0.800
    200909,0.900
    200910,1.200
    200911,1.500
    200912,1.800
    201001,1.700
    201002,1.500
    201003,1.200
    201004,0.800
    201005,0.300
    201006,-0.200
    201007,-0.600
    201008,-1.000
    201009,-1.300
    201010,-1.400
    201011,-1.400
    201012,-1.400
    201101,-1.300
    201102,-1.200
    201103,-0.900
    201104,-0.600
    201105,-0.200
    201106,0.000
    201107,0.000
    201108,-0.200
    201109,-0.400
    201110,-0.700
    201111,-0.800
    201112,-0.900
    201201,-0.900
    201202,-0.700
    201203,-0.500
    201204,-0.300
    201205,-0.100
    201206,0.000
    201207,0.100
  </values>
</data>
</mugl>