Search found 18 matches

by nisbus
Thu Sep 13, 2007 12:12 pm
Forum: Wishes and ideas
Topic: TCursor tool options
Replies: 5
Views: 38310

I added it as an url but my webserver seems to be down :(

Thank you, I managed to get the results I wanted using a combination of TCursorTool and TAnnotationTool.


thanks,
nisbus
by nisbus
Thu Sep 13, 2007 1:26 am
Forum: Wishes and ideas
Topic: TCursor tool options
Replies: 5
Views: 38310

I added some thing to your code with the TextOut of the charts canvas and it works pretty well except that the chart always erases my text immediately after drawing the textout. How can I make it stick? procedure TForm1.ChartTool1Change(Sender: TCursorTool; x, y: Integer; const XValue, YValue: Doubl...
by nisbus
Thu Sep 13, 2007 1:06 am
Forum: Wishes and ideas
Topic: TCursor tool options
Replies: 5
Views: 38310

Thank you, This example does exactly what I am trying to do except it shows the values in the chart title. I would like just the value at the x coordinate of the cursor and the y coordinate of the series (as my screenshot implied). If I try to use Canvas.TextOut for example how would I then get the ...
by nisbus
Thu Sep 13, 2007 12:53 am
Forum: Wishes and ideas
Topic: More functions
Replies: 3
Views: 19959

Here are some resources where you can find information on these functions. Percentage change : Simply subtract the old value from the new value, then divide by the old value. Multiply the result by 100 and slap a % sign on it. Minus last period : used for series with a datetime x axis, just start at...
by nisbus
Mon Sep 10, 2007 5:17 pm
Forum: Wishes and ideas
Topic: TCursor tool options
Replies: 5
Views: 38310

TCursor tool options

Hi, I would very much like to see another version of the Cursor tool that didn't just display the value of a single series. This would be a vertical line that showed the values of all series it goes through at the point it's cutting the line. http://www.eleanetwork.com/charttool.gif thanks, nisbus
by nisbus
Mon Sep 10, 2007 5:01 pm
Forum: Wishes and ideas
Topic: More functions
Replies: 3
Views: 19959

More functions

Hi, I've written a few extra functions for my application but the problem is that when I set the chart to live update those series of course don't update like the built in functions. The ones I've built in and would like to see are: Percentage change (I'm actually amazed that this one isn't already ...
by nisbus
Mon Sep 10, 2007 3:52 pm
Forum: VCL
Topic: List series for XML output
Replies: 1
Views: 4980

List series for XML output

Hi, I have an application that relies heavily on TeeChart and I'm trying to write a reporting component on top of it. In my app the user adds series to a chart and has the option to add functions as well. I have an XML structure something like this: <Chart> <Series> <Color> <Database> <Dataset> <Col...
by nisbus
Tue Sep 04, 2007 11:43 pm
Forum: VCL
Topic: HOW TO: Compare multiple years?
Replies: 4
Views: 9085

Thank you both,

I used a method similar to the one Narcis suggested and I am now able to slice series apart to compare on an hourly, weekly, monthly and annual basis.

Don't you love TeeChart :)

nisbus
by nisbus
Thu Aug 30, 2007 11:19 pm
Forum: VCL
Topic: HOW TO: Compare multiple years?
Replies: 4
Views: 9085

HOW TO: Compare multiple years?

Hi,

Let's say I have two monthly series for two years (2005-2006) and I want to do a month by month comparison so that I get 4 series each ranging from jan.-dec.

Is there a simple way to do this?

thanks,
nisbus
by nisbus
Fri Apr 27, 2007 5:10 pm
Forum: VCL
Topic: TBarSeries and single X-Values
Replies: 3
Views: 7877

I figured out another way to do it: for i := 0 to Chart.DBChart1.SeriesCount -1 do begin //If any series has more than one date value if Chart.DBChart1[i].ClassName = 'THorizBarSeries' then begin if Chart.DBChart1[i].YValues.Count > 1 then begin SingleValue := False; THorizBarSeries(Chart.DBChart1[i...
by nisbus
Fri Apr 27, 2007 10:58 am
Forum: VCL
Topic: TBarSeries and single X-Values
Replies: 3
Views: 7877

TBarSeries and single X-Values

Hi, I have a chart that has multiple bars and they all have the same date as the X-Value. First I noticed that as I add more bars on that date they seem to group together in the middle of the chart and a lot of space is wasted. I then found the SideMargins property of TBarSeries and set it to false ...
by nisbus
Wed Apr 04, 2007 3:47 pm
Forum: VCL
Topic: Multiple bars and the bottom axis value
Replies: 3
Views: 7466

custom bar labels

Ok, I used the method from the demo and this is a small test: procedure TForm1.Button1Click(Sender: TObject); var ser : TChartSeries; begin Ser := TBarSeries.Create(Self); Ser.Name := 'Ser'+IntToStr(Chart1.SeriesCount); Ser.ParentChart := Chart1; Ser.Title := 'yes'; Ser.AddXY(Chart1.SeriesCount,Char...
by nisbus
Wed Apr 04, 2007 2:45 pm
Forum: VCL
Topic: Multiple bars and the bottom axis value
Replies: 3
Views: 7466

Multiple bars and the bottom axis value

Hi, I'm plotting multiple BarSeries on a chart, each bar has a single Yvalue and a text X value. I have tried two different methods ChartSeries.AddXY(Value,Date,DisplayName) ChartSeries.AddY(Value,DisplayName) Note: the date in this case is always the same. In both cases I get multiple bars but the ...
by nisbus
Thu Jul 06, 2006 5:48 pm
Forum: VCL
Topic: TCandleSeries border
Replies: 5
Views: 9701

Multiple axis problem

Hi, Thanks again, I managed to use the colorline tool for creating a separator. It would be nice if you implemented a border for the TChartAxis because this makes for a lot of ugly coding. The margin problem persists and I'm not really fond of setting the margins in code as the labels can be a lot l...
by nisbus
Wed Jul 05, 2006 3:31 pm
Forum: VCL
Topic: TCandleSeries border
Replies: 5
Views: 9701

Multiple axis problem

Thanks for the help. I managed to get the border off the candles so I'm pretty happy. I started playing around with the custom axes and added a new axis feature to my charting app. Everything seems to be working great with my new multiple axes until I move a custom axis to the OtherSide (using Other...