Tee Chart .net / ASP.net

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
rpt
Newbie
Newbie
Posts: 24
Joined: Wed Aug 09, 2006 12:00 am

Tee Chart .net / ASP.net

Post by rpt » Mon Aug 08, 2016 12:52 pm

We were using Teechart 2005 .net. Would like to upgrade to Tee Chart 2016. So i downloaded 2016 , i could not figure out which component or chart to use to draw this graph. Is it possible to draw a stack graph without any margin , axis and border.

Thanks in advance.
Attachments
graph1.png
graph1.png (12.4 KiB) Viewed 14732 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Tee Chart .net / ASP.net

Post by Sandra » Mon Aug 08, 2016 3:31 pm

Hello rpt,

You can set not visible the axis pen as do code below to show the chart in your end:

Code: Select all

            tChart1.Axes.Left.AxisPen.Visible = false;
            tChart1.Axes.Bottom.AxisPen.Visible = false;
Hoping this helps you
Thanks in advance
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

rpt
Newbie
Newbie
Posts: 24
Joined: Wed Aug 09, 2006 12:00 am

Re: Tee Chart .net / ASP.net

Post by rpt » Mon Aug 08, 2016 4:41 pm

Thank you for help Sandra.

Yes , this part i got it . here in the attached image. Can you please help me to how i should approach the missing part in between stacked graph
Attachments
graph3.png
graph3.png (13.83 KiB) Viewed 14698 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Tee Chart .net / ASP.net

Post by Sandra » Tue Aug 09, 2016 9:58 am

Hello rpt,

I have attached for you two applications, one in Teechart.Net c# and the other Teechart.Net in Asp.net where you show how can do your request.

Teechart.Net Example
TestBarSeries.zip
(15.75 KiB) Downloaded 838 times
TeeChart.Net in Asp.Net example
WebBarTest.zip
(5.62 KiB) Downloaded 831 times
Hoping these help you.
Thanks in advance
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

rpt
Newbie
Newbie
Posts: 24
Joined: Wed Aug 09, 2006 12:00 am

Re: Tee Chart .net / ASP.net

Post by rpt » Tue Aug 09, 2016 3:56 pm

Thanks for your help. I am able to draw 2 bar graph with random values adding upto 100.
What i would like is to draw in between 2 bars . As shown in figure i want to draw line and then fill them with some color
or if possible i can place a another chart and lower the z index ( i am not sure if this is possible)

Can you point me to API reference help or some tutorials
Attachments
graph4.png
graph4.png (64.32 KiB) Viewed 14669 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Tee Chart .net / ASP.net

Post by Sandra » Thu Aug 11, 2016 2:23 pm

Hello rpt,

I think can be useful for you, use a SeriesBandTool. Attached you find a simple example shows you how can do that.
TestBarSeries.zip
(10.52 KiB) Downloaded 872 times
Hoping this helps
Thanks in advance
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

rpt
Newbie
Newbie
Posts: 24
Joined: Wed Aug 09, 2006 12:00 am

Re: Tee Chart .net / ASP.net

Post by rpt » Thu Aug 11, 2016 6:35 pm

thanks for the help. I could able to get a chart very close . but i am missing labels at top and Also i need to make Y axis ( 0,25,50,75,100)

I did by inheriting Bar class. But doing so my designer is not working. Is there a way to fix it.
Attachments
graph5.png
graph5.png (10.17 KiB) Viewed 14623 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Tee Chart .net / ASP.net

Post by Sandra » Fri Aug 12, 2016 8:07 am

Hello rpt,

To fix the problem you're experiencing you need only change the MarkStyle Value. The code below shows you how:

Code: Select all

bar.Marks.Style = Steema.TeeChart.Styles.MarksStyles.Value;
Hoping this helps you
Thanks in advance
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply