Skip to content

Instantly share code, notes, and snippets.

@adamcharnock
Created February 16, 2010 11:26
Show Gist options
  • Save adamcharnock/305467 to your computer and use it in GitHub Desktop.
Save adamcharnock/305467 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!-- Only the settings with values not equal to defaults are in this file. If you want to see the
full list of available settings, check the amstock_settings.xml file in the amstock folder. -->
<settings>
<margins>0</margins>
<!-- <max_series>10</max_series> -->
<redraw>true</redraw>
<max_grid_count>30</max_grid_count>
<equal_spacing>false</equal_spacing>
<data_sets>
<data_set did="0">
<title>East Stock</title>
<short>ES</short>
<color>7f8da9</color>
<file_name>REMOVED FOR PRIVACY</file_name>
<csv>
<skip_first_rows>1</skip_first_rows>
<show_last_rows>200</show_last_rows>
<separator>,</separator>
<date_format>MM-DD-YYYY hh:mm:ss</date_format>
<decimal_separator>.</decimal_separator>
<columns>
<column>date</column>
<column></column>
<column>close</column>
<column></column>
<column></column>
<column></column>
<column></column>
</columns>
</csv>
</data_set>
</data_sets>
<charts>
<chart cid="0">
<height>60</height>
<title>Value</title>
<border_color>#CCCCCC</border_color>
<border_alpha>0</border_alpha>
<values>
<y_left>
<bg_alpha>70</bg_alpha>
<bg_color>000000</bg_color>
<text_color>FFFFFF</text_color>
</y_left>
</values>
<legend>
<show_date>true</show_date>
<positive_color>7f8da9</positive_color>
<negative_color>db4c3c</negative_color>
</legend>
<column_width>70</column_width>
<graphs>
<graph gid="0">
<type>line</type>
<period_value>close</period_value>
<data_sources>
<close>close</close>
</data_sources>
<cursor_color>002b6d</cursor_color>
<positive_color>7f8da9</positive_color>
<negative_color>db4c3c</negative_color>
<fill_alpha></fill_alpha>
<legend>
<date key="false" title="false"><![CDATA[open:<b>{open}</b> low:<b>{low}</b> high:<b>{high}</b> close:<b>{close}</b>]]></date>
<period key="false" title="false"><![CDATA[open:<b>{open}</b> low:<b>{low}</b> high:<b>{high}</b> close:<b>{close}</b>]]></period>
</legend>
</graph>
</graphs>
</chart>
<chart cid="1">
<height>30</height>
<border_color>#CCCCCC</border_color>
<border_alpha>0</border_alpha>
<title>Wind speed</title>
<values>
<y_left>
<bg_alpha>70</bg_alpha>
<bg_color>000000</bg_color>
<text_color>FFFFFF</text_color>
</y_left>
</values>
<legend>
<show_date>true</show_date>
<positive_color>7f8da9</positive_color>
<negative_color>db4c3c</negative_color>
</legend>
<column_width>0</column_width>
<graphs>
<graph gid="0">
<type>column</type>
<data_sources>
<close>close</close>
</data_sources>
<cursor_color>002b6d</cursor_color>
<positive_color>7f8da9</positive_color>
<negative_color>db4c3c</negative_color>
<fill_alpha>100</fill_alpha>
<legend>
<date key="false" title="false"><![CDATA[{close}]]></date>
<period key="false" title="false"><![CDATA[total:{sum}]]></period>
</legend>
</graph>
</graphs>
</chart>
</charts>
<data_set_selector>
<enabled>false</enabled>
</data_set_selector>
<period_selector>
<button>
<bg_color_hover>FEC514</bg_color_hover>
<bg_color_selected>DB4C3C</bg_color_selected>
<text_color_selected>FFFFFF</text_color_selected>
</button>
<periods>
<period type="hh" count="1" selected="true">1h</period>
<period type="hh" count="2">2h</period>
<period type="hh" count="3">3h</period>
<period type="hh" count="4">4h</period>
<period type="hh" count="5">5h</period>
<period type="MAX">MAX</period>
</periods>
<periods_title>Zoom:</periods_title>
<custom_period_title>Custom period:</custom_period_title>
</period_selector>
<header>
<enabled>false</enabled>
</header>
<plot_area>
<border_color>b6bece</border_color>
</plot_area>
<scroller>
<graph_data_source>close</graph_data_source>
<graph_selected_fill_alpha>100</graph_selected_fill_alpha>
<resize_button_color>002b6d</resize_button_color>
<!-- <connect>false</connect> -->
<frequency>6</frequency>
</scroller>
</settings>
sampledate,windspeed,winddirection,light,temperature,external,winddirectionstd
2009-08-18 19:38:00,5.1168466666667,506,995,0,451,19925
2009-08-18 19:48:00,3.622889,500,993,0,445,15687
2009-08-18 19:58:00,3.5058575,504,990,0,440,15910
2009-08-18 20:08:00,3.7037996666667,504,987,0,433,15951
2009-08-18 20:18:00,3.2544565,503,981,0,426,15833
2009-08-18 20:28:00,2.7184233333333,521,970,0,420,17037
2009-08-18 20:38:00,2.2083971666667,486,717,0,416,14857
2009-08-18 20:48:00,2.1188175,464,226,0,414,13545
2009-08-18 20:58:00,1.984448,456,58,0,413,13088
2009-08-18 21:08:00,0.7057705,431,11,0,413,11840
2009-08-18 21:18:00,1.0149648333333,471,1,0,412,23989
2009-08-18 21:28:00,0.62630466666667,423,0,0,406,18422
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment