Arindam

Members
  • Content count

    730
  • Joined

  • Last visited

Posts posted by Arindam


  1. Hi,

    Please use the <chart> attributes - bgColor='f7f2f7,f7f2f7' bgalpha='100,100' .

    i.e

    <chart ..... bgColor='f7f2f7,f7f2f7' bgalpha='100,100' ... >

    bgColor Color This attribute sets the background color for the chart. You can set any hex color code as the value of this attribute. To specify a gradient as background color, separate the hex color codes of each color in the gradient using comma. Example: FF5904,FFFFFF. Remember to remove # and any spaces in between. See the gradient specification page for more details.
    bgAlpha Number 0-100 Sets the alpha (transparency) for the background. If you've opted for gradient background, you need to set a list of alpha(s) separated by comma. See the gradient specification page for more details.

  2. Hi,

     For multiple charts you have to take different Literal control with in design page say literal1, literal2, literal3

    After that call different fusionchart render function with in Page_load event

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

     Literal1.Text = GetMonthlySalesChartHtml()

     Literal2.Text = Chart1Html()

     Literal3.Text = Chart2Html()

    End Sub

    Now create 2 other function Chart1Html() and Chart2Html()

    Public Function Chart1Html () As String

     '

     'Your code here goes here

     '

     Return FusionCharts.RenderChartHTML("charts/Column3D.swf", "", sXML.ToString, "myNext", "600", "300", False)

    End Function

    Public Function Chart2Html () As String

     '

     'Your code here goes here

     ' 

     Return FusionCharts.RenderChartHTML("charts/Column3D.swf", "", sXML.ToString, "myNext1", "600", "300", False)

    End Function

     

    Note when you are rendering fusioncharts that time chartID must be deferent.