Click here to Skip to main content
15,890,897 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi i'm using MS chart Control which is in VS 2010..

When i use it it shows the error like "Element 'Chart' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is mssing"



If i run it it'll show the result but it'll not displays the intelligency menu

What is the problem?

How to solve it?
Posted
Comments
Sandeep Mewara 2-Dec-10 4:51am    
Not clear.
vinu.1111 2-Dec-10 4:58am    
thanks for reply.. i mean i cant see the properties of the charts in property window..
and <asp:chart runat="server" ID="chart1" DataSourceID="SqlDataSource1" Height="454px"
Width="716px">
<series>
<asp:Series Name="Series1" ChartType="Pie" XValueMember="YardName" IsValueShownAsLabel="True"
YValueMembers="Column1">
</asp:Series>


<chartareas>
<asp:ChartArea Name="ChartArea1">
</asp:ChartArea>


<legends>

<asp:Legend Title="Yard Wise Revenue"/>

</asp:chart>
... and for the above code a green line is underlined for <asp:chart> if we take mnouse over
that it displays "Element 'Chart' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is mssing" ... What to do... help me..
vinu.1111 2-Dec-10 5:50am    
i want to add two values in the legend . i legend only one value is displayed i.e name of the
field . and the value is displayed in the graph.. i want to display the value also in
legend ex: in legend
[] SCHOOL STRENGTH - 15000
[] STUDENT STRENGTH - 1600000
.. so i want to display both the name and value in legend..
help me..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900