1 Replies - 1242 Views - Last Post: 06 September 2011 - 10:31 AM Rate Topic: -----

#1 jhoog  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 29
  • Joined: 13-June 11

Having trouble with chart

Posted 02 September 2011 - 12:51 PM

I am having trouble with this chart i am getting a unknown server tag asp:chart error, anybody know why?

<table>
        <tr>
            <td width="100%">
                <asp:Chart ID="Chart1" runat="server" Height="500px" Width="900px" BackColor="White" Palette="BrightPastel">
                    <Legends>
                        <asp:Legend TitleFont="Microsoft Sans Serif, 8pt, style=Bold" BackColor="Transparent"
                            Font="Trebuchet MS, 8.25pt, style=Bold" IsTextAutoFit="False" Enabled="False"
                            Name="Default">
                        </asp:Legend>
                    </Legends>
                    <Series>
                        <asp:Series Name="Series1" ChartType="StackedArea100" BorderColor="180, 26, 59, 105"
                            Color="220, 65, 140, 240">
                        </asp:Series>
                        <asp:Series Name="Series2" ChartType="StackedArea100" BorderColor="180, 26, 59, 105"
                            Color="220, 252, 180, 65">
                        </asp:Series>
                    </Series>
                    <ChartAreas>
                        <asp:ChartArea Name="ChartArea1" BorderColor="64, 64, 64, 64" BorderDashStyle="Solid"
                            BackSecondaryColor="Transparent" BackColor="64, 165, 191, 228" ShadowColor="Transparent"
                            BackGradientStyle="TopBottom">
                            <Position Y="3" Height="92" Width="92" X="2"></Position>
                            <AxisY LineColor="64, 64, 64, 64" LabelAutoFitMaxFontSize="8">
                                <LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />
                                <MajorGrid LineColor="64, 64, 64, 64" />
                            </AxisY>
                            <AxisX LineColor="64, 64, 64, 64" LabelAutoFitMaxFontSize="8">
                                <LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />
                                <MajorGrid LineColor="64, 64, 64, 64" />
                            </AxisX>
                        </asp:ChartArea>
                    </ChartAreas>
                </asp:Chart>
            </td>
        </tr>
    </table>


Mod Edit:
:code:

Is This A Good Question/Topic? 0
  • +

Replies To: Having trouble with chart

#2 jhoog  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 29
  • Joined: 13-June 11

Re: Having trouble with chart

Posted 06 September 2011 - 10:31 AM

problem solved, just took configuring in my web.config file
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1