monsieur_jj

Members
  • Content count

    1
  • Joined

  • Last visited

About monsieur_jj

  • Rank
    Forum Newbie
  1. Hi there I am trying to make a gantt chart using this xml <chart manageResize="1" dateFormat='mm/dd/yyyy' caption='Project Gantt' subCaption='From 1st Feb 2007 - 31st Aug 2007' showSlackAsFill='0' showPercentLabel='1'> <categories> <category label='1980' /> <category label='1985' /> <category label='1995' /> <category label='1996' /> <category label='2005' /> <category label='2006' /> </categories> <processes fontSize='12' isBold='1' align='right' headerText='What to do?' headerFontSize='18' headerVAlign='bottom' headerAlign='right'> <process label='Mine Open - Close' /> <process label='Mine Start - End (Planned)' /> <process label='Mine Start - End (Actual)' /> </processes> <tasks > <task start='1980' end='1985' showAsGroup='1' label='Research' showLabel='1'/> <task start='1995' end='2005' /> <task start='1996' end='2006' /> </tasks> <trendlines> <line start='08/14/2007' displayValue='Today' color='333333' thickness='2' dashed='1' /> <line start='05/3/2007' end='05/10/2007' displayValue='Vacation' isTrendZone='1' alpha='20' color='FF5904'/> </trendlines> </chart> I tried using this code I am not sure how to make it dim FC ' Create FusionCharts ASP class object set FC = new FusionCharts ' Set chart type to Column 3D call FC.setChartType("Gantt") ' Set chart size call FC.setSize("300","250") ' set the relative path of the swf file Call FC.setSWFPath("Charts/FusionCharts_Developer/Charts") ' Set chart attributes dim strParam ' Define chart attributes '<chart manageResize="1" dateFormat='mm/dd/yyyy' caption='Project Gantt' subCaption='From 1st Feb 2007 - 31st Aug 2007' showSlackAsFill='0' showPercentLabel='1'> strParam="dateFormat='mm/dd/yyyy';caption=Mine Life;subcaption='For "&GetPropertyName(Request.Querystring("propno"))&"';showSlackAsFill='0';" 'xAxisName=Mine Time Line;yAxisName=Year;" ' Set Chart attributes Call FC.setChartParams(strParam) Call FC.addCategory("","","") ' Render First Chart Call FC.renderChart(false) What methods do i need to use to set the properties from my xml I am using: FusionCharts XT (v3.2.2) Service Release 3 (Released on 12th March, 2012)