I need to make a bar graph (chart) in C# console application and than email this bar graph with some table to users.
Any help !!!!
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
mithun kumarPosted Jun 14, 2012, 7:48 AM
Chk the below link
http://www.beansoftware.com/ASP.NET-Tutorials/Bar-Pie-Chart.aspx
Regards,
Mithun.
Glenn PattonPosted Jun 14, 2012, 6:21 AM
If you know say the first value is 5 you could use a for loop to add say a * on each cycle.
int MaxVal = 5;
for(int i = 0; i < MaxVal; i++)
{
Console.Write("**");
}
The means of moving about is Console.SetCursorPosition(int left value,int top value)
(X,Y) increment the left value or X to move over positions.
That should point you in the right direction!
Glenn