Search found 10 matches

by stark
Mon Aug 07, 2006 10:04 am
Forum: .NET
Topic: H2 enable data entries from editor.data?
Replies: 12
Views: 17721

Hello BerntR,

you can change the data entries using the following code:

Code: Select all

 area.Chart[ChartIndex].YValues[YIndex] = 56;
 area.Chart[ChartIndex].YValues[XIndex] = 6;
by stark
Fri Aug 04, 2006 4:00 pm
Forum: VCL
Topic: Chart Area Width and Height
Replies: 1
Views: 5241

Hello Krishna,

this should help you

Code: Select all

  height := Chart1.ChartRect.right - chart1.chartrect.left;
  width := chart1.ChartRect.Bottom - Chart1.ChartRect.Top ;
have nice weekend!
by stark
Thu Aug 03, 2006 11:23 am
Forum: ActiveX
Topic: Drawlines Tool
Replies: 1
Views: 4919

Hello Rossmc, to the first part of your question: I need to be able to remove the drawhandles from a drawline tool programatically. Is this possible? try this: TChart1.Tools.Items(0).asDrawLine.AddLine -1000, -1000, -1000, -1000 TChart1.Tools.Items(0).asDrawLine.Selected = 0 The idea is to draw a in...
by stark
Thu Aug 03, 2006 8:51 am
Forum: VCL
Topic: Opacity of the Background Picture
Replies: 1
Views: 5041

Hi Krishna,

I can set the transparency with this code:

Code: Select all

chart1.Walls.Back.Transparent := true;
chart1.Walls.Back.Transparency := 60;
series1.FillSampleValues(10);
If this dosen't help you, please specify your requirment.
by stark
Wed Aug 02, 2006 2:31 pm
Forum: .NET
Topic: Spin Gridband 90° ?
Replies: 1
Views: 4688

Hello Rob, this should work: Steema.TeeChart.Tools.GridBand gridBand1 = new_ Steema.TeeChart.Tools.GridBand(); tChart1.Tools.Add(gridBand1); gridBand1.Axis = tChart1.Axes.Bottom; gridBand1.Band1.Color = Color.AliceBlue; gridBand1.Band2.Color = Color.Bisque;
by stark
Wed Aug 02, 2006 11:00 am
Forum: ActiveX
Topic: Any function for Exponential Weighted Moving Average?
Replies: 1
Views: 4847

Hello Evan, you can add your own function at TChart1_OnSeriesBeforeAdd(ByVal SeriesIndex As Long, MoreValues As Boolean) here is small example: Private Sub TChart1_OnSeriesBeforeAdd(ByVal SeriesIndex As Long, MoreValues As Boolean) If SeriesIndex = 1 Then TChart1.Series(SeriesIndex).YValues.TempValu...
by stark
Wed Aug 02, 2006 6:42 am
Forum: .NET
Topic: WebChart X, Y location issue
Replies: 5
Views: 11540

Hello am, using this code I have no problems to ascertaining the x- and y-values: Default.aspx.cs using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; ...
by stark
Tue Aug 01, 2006 1:50 pm
Forum: .NET
Topic: WebChart X, Y location issue
Replies: 5
Views: 11540

Hello am,

this:

Code: Select all

WebChart1.Style.Value.ToString()
returns a string containing x and y-value of the upper left corner of you webchart.
by stark
Tue Aug 01, 2006 8:29 am
Forum: VCL
Topic: Changing origin for sidestacked bars
Replies: 4
Views: 9617

Hello Andrew S, I tried to reproduce your problem. For me this works fine: Series2.UseYOrigin := true; Series2.YOrigin := -100 ; Series1.UseYOrigin := true ; Series1.YOrigin := -100 ; Series1.FillSampleValues(2); Series2.FillSampleValues(2); Maybe I miss understood your question. Let use know if the...
by stark
Fri Jul 28, 2006 11:58 am
Forum: ActiveX
Topic: Customize color in pie chart
Replies: 1
Views: 4655

Customize color in pie chart

Hi Dilish,

this will do:

Code: Select all

TChart1.Series(0).Add 210, "Test1", vbRed
TChart1.Series(0).Add 10, "Test2", vbBlue
TChart1.Series(0).Add 120, "Test3", vbGreen
Alex