/**
 * Static objects used to configure charts on sixregs
 * 
 * $Id: chartConfig.js,v 1.4 2009/11/30 08:24:07 obo Exp $
 */
var siteChartConfig = { 
	MANAGEMENT_PRINT_URL : "/marketpulse/shares/companies/management_print_",
	MANAGEMENT_INCLUDE_URL : "/marketpulse/shares/companies/management_incl_",
	CHART_CONFIG_URL : "/marketpulse/ajax/chart-configuration?config=",
	CHART_DATA_URL : "/marketpulse/ajax/fqs-invchartdata.json",
	UPDATE_GRAPH_PERIOD : 2000, // ms

  getMINI_LAYOUT: function() {
    return {
      graphWidth       : 153,
      graphHeight      : 77,
      marginLeft       : 2, // margin from left of surface
      marginRight      : 2, // margin from right of graph border to the axis labels
      marginTop        : 5, // margin from the top of the surface
      marginBottom     : 5, // margin from the bottom of the graph border to the axis labels
      paddingLeft      : 0,
      paddingRight     : 0,
      paddingBottom    : 4,
      paddingTop       : 4  // space between border and graph top
    };
	},

  getSMALL_LAYOUT: function() {
    return {
      graphWidth       : 246,
      graphHeight      : 122,
      marginLeft       : 2, // margin from left of surface
      marginRight      : 4, // margin from right of graph border to the axis labels
      marginTop        : 5, // margin from the top of the surface
      marginBottom     : 6, // margin from the bottom of the graph border to the axis labels
      paddingLeft      : 0,
      paddingRight     : 0,
      paddingBottom    : 4,
      paddingTop       : 4  // space between border and graph top
    };
  },

  getLARGE_LAYOUT: function() {
    return {
      graphWidth       : 530,
      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
    };
  }
};