Click here to Skip to main content
15,886,724 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to include a chart in my web application and change its properties according to values of points, till now i can bind data to my chart and draw the conventional bar chart
here's the code behind:
C#
Chart1.DataSource = MyDataSource;
Chart1.DataBind();


and here's the page.aspx code added:

ASP.NET
<asp:Chart ID="Chart1" runat="server" OnLoad="Chart1_Load">
    <series>
        <asp:Series IsValueShownAsLabel="True" Name="Series1" XValueMember="Name" YValueMembers="No_Of_Posts">
        </asp:Series>
    </series>
    <chartareas>
        <asp:ChartArea Name="ChartArea1">
            <AxisY Title="No Of Posts">
            </AxisY>
            <AxisX Title="Name">
            </AxisX>
        </asp:ChartArea>
    </chartareas>
</asp:Chart>

I searched for many videos to help me changing and exploring the chart control properties but i found nothing. any videos or tutorials including examples will be so helpful. thanks in advance.
Posted

1 solution

Yu could start here: ASP.NET 4.0 Chart Control[^]
 
Share this answer
 
Comments
Hend Riad 15-Mar-13 13:49pm    
Thanks for you, I saw this before but it includes the basics for drawing a chart while i need to customize my chart, and to know more properties about the control itself.
Sergey Alexandrovich Kryukov 15-Mar-13 14:59pm    
This chart library should be good enough for such purposes. What do you think is missing but you would need it?
—SA
Sergey Alexandrovich Kryukov 15-Mar-13 14:58pm    
Sure, a 5.
—SA

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