Page 1 of 1

Tee Chart .net / ASP.net

Posted: Mon Aug 08, 2016 12:52 pm
by 9642129
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.

Re: Tee Chart .net / ASP.net

Posted: Mon Aug 08, 2016 3:31 pm
by 10050769
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

Re: Tee Chart .net / ASP.net

Posted: Mon Aug 08, 2016 4:41 pm
by 9642129
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

Re: Tee Chart .net / ASP.net

Posted: Tue Aug 09, 2016 9:58 am
by 10050769
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 814 times
TeeChart.Net in Asp.Net example
WebBarTest.zip
(5.62 KiB) Downloaded 816 times
Hoping these help you.
Thanks in advance

Re: Tee Chart .net / ASP.net

Posted: Tue Aug 09, 2016 3:56 pm
by 9642129
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

Re: Tee Chart .net / ASP.net

Posted: Thu Aug 11, 2016 2:23 pm
by 10050769
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 836 times
Hoping this helps
Thanks in advance

Re: Tee Chart .net / ASP.net

Posted: Thu Aug 11, 2016 6:35 pm
by 9642129
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.

Re: Tee Chart .net / ASP.net

Posted: Fri Aug 12, 2016 8:07 am
by 10050769
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