Search found 9536 matches

by Yeray
Fri Apr 13, 2007 10:07 am
Forum: VCL
Topic: trnasparency doesn't work with export?
Replies: 5
Views: 12924

Hi guzial,

you can try doing something like this:

Code: Select all

Chart1.ExchangeSeries(Series1,Series2);
by Yeray
Fri Apr 13, 2007 9:31 am
Forum: ActiveX
Topic: Bar chart question
Replies: 3
Views: 7990

Hi amadeus, The code bellow shows you an example of how you can change the labeltext using OnGetAxisLabel event: Private Sub TChart1_OnGetAxisLabel(ByVal Axis As Long, ByVal SeriesIndex As Long, ByVal ValueIndex As Long, LabelText As String) If Axis = 3 Then LabelText = "Q" & CStr(CInt(LabelText) + ...
by Yeray
Fri Apr 13, 2007 8:48 am
Forum: VCL
Topic: trnasparency doesn't work with export?
Replies: 5
Views: 12924

Hi guzial,

Yes, this is a known limitation. Existing PDF export filter does not support transparency (missing pdf implementation). We have this on our wish list for next major TeeChart release. In the meantime the workaround is to disable (set it to 0) the transparency.
by Yeray
Thu Apr 12, 2007 8:03 am
Forum: VCL
Topic: Chartlistbox
Replies: 2
Views: 6210

Hi Richard,

You should use something as following:

Code: Select all

ChartListBox1.ClearItems;
ChartListBox1.AddItem('Series3',Series3);
ChartListBox1.AddItem('Series4',Series4);
ChartListBox1.AddItem('Series5',Series5);
by Yeray
Tue Apr 10, 2007 10:23 am
Forum: VCL
Topic: mulitcolor serie
Replies: 12
Views: 19634

Hi guzial, Following the steps in the article above I've made an example with 6 series and 1000000 points in each one and it takes about 8 seconds to draw the chart in my machine. The code I use is: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,...
by Yeray
Tue Apr 10, 2007 9:08 am
Forum: VCL
Topic: mulitcolor serie
Replies: 12
Views: 19634

Hi guzial,

you can take a look at this article to optimize your LineSeries.
by Yeray
Tue Apr 10, 2007 9:01 am
Forum: VCL
Topic: Tcursortool method FollowMouse doesn't work
Replies: 4
Views: 9368

And also note that we've added it to our wish list to be considered for further releases.
by Yeray
Tue Apr 10, 2007 8:34 am
Forum: VCL
Topic: Tcursortool method FollowMouse doesn't work
Replies: 4
Views: 9368

Hi guzial,

you can solve this issue assigning a series to the cursor tool.
by Yeray
Tue Apr 10, 2007 8:08 am
Forum: VCL
Topic: mulitcolor serie
Replies: 12
Views: 19634

Hi guzial,

We're sorry but you should use TLineSeries to achieve ColorEachPoint to work properly.
by Yeray
Thu Apr 05, 2007 11:18 am
Forum: VCL
Topic: mulitcolor serie
Replies: 12
Views: 19634

Hello guzial, Ensure that you have set the following properties to true: YourLineSeries.ColorEachLine:=true; YourLineSeries.ColorEachPoint:=true; If this doesn't help, could you please send us a simple example project we can run "as-is" to reproduce the problem here? You can post your files at news:...
by Yeray
Wed Mar 28, 2007 8:59 am
Forum: VCL
Topic: Get BottomAxis Value
Replies: 1
Views: 5684

Hello Kev, the following example shows you two ways to achieve it: procedure TForm1.ChartTool1DragLine(Sender: TColorLineTool); var x, y, index: Integer; begin x:=Series1.CalcXPosValue(ChartTool1.Value); //first way for y:=Chart1.Axes.Left.IStartPos to Chart1.Axes.Left.IEndPos do if Series1.Clicked(...
by Yeray
Thu Mar 22, 2007 9:17 am
Forum: VCL
Topic: TeeChart / Intraweb / Onclick
Replies: 1
Views: 5291

Hello drueter,
You can use OnClick event as follows:

Code: Select all

procedure TForm1.Series1Click(Sender: TChartSeries; ValueIndex: Integer;
  Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
begin
  Chart1.Title.Caption := 'Clicked Pie: ' + inttostr(Series1.CalcClickedPie(X,Y));
end;
by Yeray
Wed Mar 14, 2007 10:25 am
Forum: VCL
Topic: TFastLineSeries displays null point
Replies: 2
Views: 7185

Hi rhyden, you're right, this is a known issue in our wish-list to be enhanced for future releases. In the meantime, In order to do what you need, you can do something like the example bellow: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialo...
by Yeray
Thu Mar 08, 2007 9:53 am
Forum: VCL
Topic: Area Graph Question
Replies: 3
Views: 7753

Hello mh, To plot an area series you should have, at least, two points to define a valid area to be plotted. Anyway, if you wish to achieve what you request you could use something like the AddValue method and OnGetPointerStyle event (to show the points you need) as in the example we implemented bel...
by Yeray
Fri Mar 02, 2007 11:18 am
Forum: VCL
Topic: How to align two charts
Replies: 3
Views: 6964

In the following example, we made two series in two different charts, we set different legend widthes and aligned them. procedure TForm1.FormCreate(Sender: TObject); begin Series1.FillSampleValues(100); Series2.FillSampleValues(200); //Creating diferent size titles for each legend Chart1.Legend.Titl...