Search found 8 matches

by Red77
Thu Apr 21, 2005 6:56 pm
Forum: VCL
Topic: Sorting the Bars on a Barchart
Replies: 9
Views: 12146

OK, Im running RB 9.01. I do not have the TppChart.Chart class. I tried that code anyway. It did not work. I do not have access to RB help or Teechart help modules unforturnately. And I do not have access to the dfm or pas files. So now, all I can do is email you a screen shot or my coding area, to ...
by Red77
Thu Apr 21, 2005 2:47 pm
Forum: VCL
Topic: Sorting the Bars on a Barchart
Replies: 9
Views: 12146

Marjan,

I still get the same error for both codes

"Expected '(' or '[' , but found 'Series' instead."

????
Red
by Red77
Thu Apr 21, 2005 2:43 pm
Forum: VCL
Topic: Grouping and counting data
Replies: 5
Views: 8155

Hi Marjan, Im a beginner but I do realise that I can not copy and paste your object names. The only IDE object I have is "DPTeeChart1". No series listed. Within my design tab I can edit my object. In there I have just one series called Series1. Anyway I now get the error "Undeclared identifier 'i'" ...
by Red77
Thu Apr 21, 2005 2:35 pm
Forum: VCL
Topic: Sorting the Bars on a Barchart
Replies: 9
Views: 12146

Hi,
By IDE generated name I guess you mean
'DPTeeChart1'?

Within my chart I have a series. Its called Series1.
Series1 is not listed as an object.

Using that code the error I now get is
"Expected '(' or '[' , but found 'Series' instead."

Thanks

Red
by Red77
Thu Apr 21, 2005 2:05 pm
Forum: VCL
Topic: Grouping and counting data
Replies: 5
Views: 8155

Hi,
Thanks but I get an "undeclared identifier" error on this too.
Im a novice at Teechart and maybe theres something Im missing here.

Should this work within the calc section or Digital Metphors Report Builder?

Red
by Red77
Thu Apr 21, 2005 2:00 pm
Forum: VCL
Topic: Sorting the Bars on a Barchart
Replies: 9
Views: 12146

Hi, Thanks but this inst working. In the code section the only procedure available for the DPTeeChart object is 'OnPrint' When I enter Series1.SortByLabels(loAscending); The error messgae is "Error:DPTeeChart1OnPrint, Line3: Undeclared indentifier: 'Series1'." The series on my chart IS called Series...
by Red77
Wed Apr 20, 2005 8:37 pm
Forum: VCL
Topic: Grouping and counting data
Replies: 5
Views: 8155

Grouping and counting data

Hi, (Im using Teechart through Digital Metaphors Report Builder.) How do I count the number of records against a certain field parameter. IE: if I have a table with 5 ford records, 2 volvo records, 3 saab records and so on. I want a bar chart with bar levels 5, 2, 3. BUT If there are 4 red fords and...
by Red77
Wed Apr 20, 2005 8:30 pm
Forum: VCL
Topic: Sorting the Bars on a Barchart
Replies: 9
Views: 12146

Sorting the Bars on a Barchart

Hi,
(Im using Teechart through Digital Metaphors Report Builder.)

I have a barchart where the bars are sorted left to right from smallest bar to largest bar.
How do I change it so that I sort the bar names across the x-axis in their aplhabetical order?

Thanks

Red