govin

Members
  • Content count

    6
  • Joined

  • Last visited

Posts posted by govin


  1. Hi,

     

    Thank you so much .

     

    Still problem.

     

    My environment is c sharp and asp.net.

     

     

    strXML.Append("<dataset seriesname='iOEE' showValues='1' visible='0' renderAs='Line' lineThickness='2'>");

    foreach (System.Data.DataRow orow in otbl_ioee.Rows)

    {

    strXML.Append("<set value='" + orow["YVal"].ToString() + "'/>");

    }

    strXML.Append("</dataset>");

    //IE

    strXML.Append("<dataset seriesname='Target IOEE' visible='0' renderAs='Line' >");

    foreach (System.Data.DataRow orow in otbl_ie.Rows)

    {

    if (orow["YVal"].ToString() == null || orow["YVal"].ToString() == "")

    strXML.Append("<set value='85'/>");

    else

    strXML.Append("<set value='" + orow["YVal"].ToString() + "'/>");

    }

    strXML.Append("</dataset>");

     

     

    and

    render chart is

     

     

    FusionCharts.SetRenderer("javascript");

     

    // string tmp = FusionCharts.RenderChart("StackedColumn2DLine", "", strXML, chartId, chartWidth, chartHeight, false, false, false, null, "showAll", null);

    string tmp = FusionCharts.RenderChart("StackedColumn2DLine", "", strXML.ToString(), chartId, chartWidth, chartHeight, false, true);

    return tmp;

     

     

     

    can you assist


  2. Dear Haritha,

     

    Thanks but still same issue.

    I follow your instruction but still same.

     

    please check code and image for the output..

     

    //IE

    strXML.Append("<dataset visible='0' seriesname='Target IOEE' renderAs='Line' >");

    foreach (System.Data.DataRow orow in otbl_ie.Rows)

    {

    if (orow["YVal"].ToString() == null || orow["YVal"].ToString() == "")

    strXML.Append("<set value='85'/>");

    else

    strXML.Append("<set value='" + orow["YVal"].ToString() + "'/>");

    }

    strXML.Append("</dataset>");

     

     

    post-62374-0-34476300-1389918092_thumb.jpg