Search found 30 matches

by bcmiller
Wed Mar 01, 2006 4:42 pm
Forum: VCL
Topic: TChartAxis.Automatic
Replies: 1
Views: 3663

TChartAxis.Automatic

Hi, I've raised this issue before -please have patience. ******** (from TeeChart Help) Description If Axis.Automatic property is True, then the Maximum and Minimum values for the Axis will be automatically calculated based on all Axis dependent Series. ******** With TDBChart if the data has zeroes o...
by bcmiller
Mon Feb 27, 2006 4:22 pm
Forum: VCL
Topic: Inserting 'carriage return' into legend
Replies: 1
Views: 3601

Inserting 'carriage return' into legend

Hi,

What's the best way to start a new line in the legend at any point, like -inserting a carriage return.

Will the legend width adjust itself afterwards?

Thanks,
Barry
by bcmiller
Mon Jan 30, 2006 9:18 pm
Forum: VCL
Topic: Peculiar 'Single Record' behavior
Replies: 7
Views: 9118

Peculiar 'Single Record' behavior

Great. Problem cleared up. I didn't notice that a series in 'single record' mode needs to look at a TDatasource not the clientdataset. I was setting SeriesX.Datasource := cds at run-time. I assume from all this that 'single record' mode requires a TDatasource component. Thanks for your attention! Ba...
by bcmiller
Tue Jan 17, 2006 8:23 pm
Forum: VCL
Topic: TLineSeries zero/null values
Replies: 3
Views: 5712

TLineSeries zero/null values

Actually I can get the minimum value with with the clientdataset aggregates function. -Not a problem.
Thanks
by bcmiller
Tue Jan 17, 2006 4:50 pm
Forum: VCL
Topic: TLineSeries zero/null values
Replies: 3
Views: 5712

TLineSeries zero/null values

Thanks Narcis, Those methods won't work for me because the scale doesn't adjust. I think what I have to do is reset the axis minimum to the minimum Y value > 0 for each series. I could do this by looping through my clientdataset, finding the minimum positive value for each relevant column and using ...
by bcmiller
Mon Jan 16, 2006 9:31 pm
Forum: VCL
Topic: TLineSeries zero/null values
Replies: 3
Views: 5712

TLineSeries zero/null values

Hi,

Is there a DBChart setting that will make TLineSeries ignore zero or null values so that the lines aren't bunched together at the top for larger Y values.

Thanks,
Barry
by bcmiller
Mon Jan 16, 2006 8:43 pm
Forum: VCL
Topic: Peculiar 'Single Record' behavior
Replies: 7
Views: 9118

Peculiar 'Single Record' behavior

The files have been uploaded with the Subject heading:
'Single Record Problem'.

Thanks,
Barry
by bcmiller
Mon Jan 16, 2006 2:04 am
Forum: VCL
Topic: Peculiar 'Single Record' behavior
Replies: 7
Views: 9118

Peculiar 'Single Record' behavior

I'm afraid this came back to haunt me. I've created a set of Delphi project files if you want to have a look. I'm using D2005 with TeeChart Pro v7.05. Haven't noticed any particular difference between my code and your Single Record Demo code. I'm sure it's something extremely simple that I'm overloo...
by bcmiller
Sun Jan 08, 2006 8:19 pm
Forum: VCL
Topic: When switching datasets ...
Replies: 1
Views: 3521

When switching datasets ...

Hi, Frequently my charts draw from clientdatasets whose contents I switch around for other datasets with different fieldDefs. I've learned to clear the data related chart properties to avoid error messages like: 'Project Alpha.exe raised exception class EdatabaseError with message'cds: Field 'fld1' ...
by bcmiller
Sun Jan 08, 2006 8:10 pm
Forum: VCL
Topic: Peculiar 'Single Record' behavior
Replies: 7
Views: 9118

Peculiar 'Single Record' behavior

Sorry for the bother, this problem was related to other coding issues...

Thanks,
Barry
by bcmiller
Sun Jan 08, 2006 7:59 pm
Forum: VCL
Topic: DBGrid and DBChart
Replies: 2
Views: 4677

DBGrid and DBChart

Turns out I had neglected to:

cds.EnableControls;

after having switched the dataset the grid and chart were drawing from.

Sorry for the uproar!

-Barry
by bcmiller
Tue Jan 03, 2006 9:12 pm
Forum: VCL
Topic: DBGrid and DBChart
Replies: 2
Views: 4677

DBGrid and DBChart

Hi,

Need some help figuring out why when I scroll through the DBGrid using the arrow key or the vertical scroll bar -the DBChart clears until I checkdatasource for all series?

Thanks for your insight,
Barry

(Delphi 2005, TeeChart Pro v7.04 purchased)
by bcmiller
Sat Dec 31, 2005 4:40 pm
Forum: ActiveX
Topic: Heavier dashed lines in TLineSeries
Replies: 1
Views: 3481

Heavier dashed lines in TLineSeries

Hi,

It appears that if you set the border style to 'Dot' in TLineSeries it will only appear as such if width = 1, else it appears solid.

Is there a way to get a dotted or dashed line with a pen width > 1?

Thanks,
Barry

(Delphi2005, TeeChart Pro v7.04 purchased)
by bcmiller
Wed Dec 28, 2005 7:13 pm
Forum: VCL
Topic: Peculiar 'Single Record' behavior
Replies: 7
Views: 9118

Peculiar 'Single Record' behavior

Hi,

I have this:

Form1.Series8.YValues.ValueSource := 'mesh201;mesh202;mesh203;mesh204';

but the chart is displaying those 4 field values repeated for every record in the dataset.

If there are 15 records then 60 points are displayed in the chart.

Hoping for an explanation ...

Barry
by bcmiller
Thu Dec 01, 2005 3:06 pm
Forum: VCL
Topic: Series references -need explanation
Replies: 2
Views: 4425

Series references -need explanation

Great, Thanks!!