c# 4.0 - Creating a chart in ASP.net -


i working on project , need add additional image using asp:chart control. unfortunately, i've never had use control before , it's bit complex use, need help.

basically, need create stacked column chart 2 legends , 2 columns. first column "income" , stacks 3 values. (wages, interest , other.) second column "expenses" , stacks 2 values. (mortgage, other.) each value has it's own value.
legend income should on left, column expenses right. these legends should display texts , values it's related value plus 'total' label value.

for task, have deal 5 values on 2 columns asp:chart control huge , i'm drowning in it's options. , want ready yesterday, no pressure. it's overdue... :-)

no, it's not homework. if was, have practical documentation , additional how-to information. since boss expects me add this, gave me absolutely no information work with, except code contains several other charts, none of them 1 , done previous victims each used own coding style. basically, project code huge mess useless documentation. (and amazingly works, long use asp:chart these graphics.)

the biggest problem i'm having stacking values correctly. since have 2 columns , 3 values, solved 3 series, each points column 1 , 2. unfortunately, puts income , expense in same label, not want.
if make 5 series, every value 1 point, second column doesn't start @ right height. won't work either.

you can download samples chart control msdn give complete in depth knowledge of how use them

http://archive.msdn.microsoft.com/mschart/release/projectreleases.aspx?releaseid=1591

for learning see these blogs well

http://www.4guysfromrolla.com/articles/072209-1.aspx http://weblogs.asp.net/scottgu/archive/2008/11/24/new-asp-net-charting-control-lt-asp-chart-runat-quot-server-quot-gt.aspx


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -