/**
 * Static elements used to configure charts on stoxxsite
 * 
 * $Id: chartConfig.js,v 1.1.1.1 2010/03/29 12:33:51 ana Exp $
 */
var siteChartConfig = {	
  CHART_DATA_URL : "/ajax/fqs-invchartdata.json",
  FEED : "stxdata",
  UPDATE_GRAPH_PERIOD : 2000, // ms

  getSMALL_LAYOUT: function() {
    return {
      graphWidth    : 175,
      graphHeight   : 134,
      marginLeft    : 25, // margin from left of surface
      marginRight   : 1, // margin from right of graph border to the axis labels
      marginTop     : 0, // margin from the top of the surface
      marginBottom  : 1, // margin from the bottom of the graph border to the axis labels
      paddingLeft   : 0,
      paddingRight  : 0,
      paddingBottom : 0,
      paddingTop    : 0,  // space between border and graph top
      axisOnLeft    : true // If false or omitted, vertical axis is on right
    };
  },
  
  getINDEX_DETAIL_LAYOUT: function() {
    return {
      graphWidth    : 247,
      graphHeight   : 177,
      marginLeft    : 25, // margin from left of surface
      marginRight   : 1, // margin from right of graph border to the axis labels
      marginTop     : 0, // margin from the top of the surface
      marginBottom  : 1, // margin from the bottom of the graph border to the axis labels
      paddingLeft   : 0,
      paddingRight  : 0,
      paddingBottom : 0,
      paddingTop    : 0,  // space between border and graph top
      axisOnLeft    : true // If false or omitted, vertical axis is on right
    };
  },

getLARGE_LAYOUT: function() {
    return {
      graphWidth       : 517,
      graphHeight      : 190,
      marginLeft       : 2, // margin from left of surface (1 for IE)
      marginRight      : 2, // margin from right of graph border to the axis labels
      marginTop        : 1, // margin from the top of the surface (1 for IE)
      marginBottom     : 6, // margin from the bottom of the graph border to the axis labels
      paddingLeft      : 10,
      paddingRight     : 10,
      paddingBottom    : 15,
      paddingTop       : 45,
      smallGraphHeight : 40
    };
  }

};