Search found 17 matches
- Wed Jun 03, 2009 9:14 am
- Forum: VCL
- Topic: Formatting of bar values
- Replies: 13
- Views: 7417
- Mon Jun 01, 2009 3:35 pm
- Forum: VCL
- Topic: Formatting of bar values
- Replies: 13
- Views: 7417
Hi Cogito, Excuse me if I offended you with the events guide. It's only that this seems really strange. Please, could you send us a simple example project we can run "as-is" to reproduce the problem here? You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or...
- Mon Jun 01, 2009 8:41 am
- Forum: VCL
- Topic: Formatting of bar values
- Replies: 13
- Views: 7417
Hi Cogito, You have two options in order to assign events: - You can create them at design time: To create an event at design time, you need the object that fires the event to be created also at design time. For example, to use SeriesGetMarkText, that is an event from the series, you need the chart...
- Mon Jun 01, 2009 7:43 am
- Forum: VCL
- Topic: Formatting of bar values
- Replies: 13
- Views: 7417
- Sat May 30, 2009 7:09 am
- Forum: VCL
- Topic: Formatting of bar values
- Replies: 13
- Views: 7417
Hi Here you have an example using these events: //... private { Private declarations } procedure Chart1GetAxisLabel(Sender: TChartAxis; Series: TChartSeries; ValueIndex: Integer; var LabelText: String); procedure SeriesGetMarkText(Sender: TChartSeries; ValueIndex: Integer; var MarkText: String); //...
- Fri May 29, 2009 3:06 pm
- Forum: VCL
- Topic: Formatting of bar values
- Replies: 13
- Views: 7417
Hi Here you have an example using these events: //... private { Private declarations } procedure Chart1GetAxisLabel(Sender: TChartAxis; Series: TChartSeries; ValueIndex: Integer; var LabelText: String); procedure SeriesGetMarkText(Sender: TChartSeries; ValueIndex: Integer; var MarkText: String); //...
- Fri May 29, 2009 1:11 pm
- Forum: VCL
- Topic: Formatting of bar values
- Replies: 13
- Views: 7417
- Fri May 29, 2009 9:51 am
- Forum: VCL
- Topic: Formatting of bar values
- Replies: 13
- Views: 7417
Hi Cogito, If you want the same character in all your charts: DecimalSeparator := '.'; If you have more than one chart, or you want to set different decimal separators in the same chart, yes, you should use OnGetAxisLabels or OnGetMarkText events to change each mark, label text. If I use the OnGetA...
- Fri May 29, 2009 6:56 am
- Forum: VCL
- Topic: Formatting of bar values
- Replies: 13
- Views: 7417
Formatting of bar values
Hello, in my application I use a bar chart, which shows the bar value in decimal format above the bars. This chart is used in a report, which is printed in different languages. The problem is, that the bar values should be shown in the right format, that means with the correct decimal separator and ...
- Thu May 28, 2009 3:27 pm
- Forum: VCL
- Topic: problem with SaveToChartFile and LoadFromChartFile
- Replies: 3
- Views: 2785
Hi Cogito, Have you called the function with the correct IncludeData parameter? Here it is the function definition: procedure SaveChartToFile(AChart: TCustomChart; Const AFileName: String; IncludeData, TextFormat: Boolean); Unit TeeStore Description This method will save the current chart as a TeeC...
- Thu May 28, 2009 1:10 pm
- Forum: VCL
- Topic: problem with SaveToChartFile and LoadFromChartFile
- Replies: 3
- Views: 2785
problem with SaveToChartFile and LoadFromChartFile
Hello,
I use a DBChart which is bound to a datasource. After doing changes from the user the settings are saved with the SaveChartToFile method. After the call of LoadChartFromFile the settings are ok, but no data are shown... What's wrong here?
I use a DBChart which is bound to a datasource. After doing changes from the user the settings are saved with the SaveChartToFile method. After the call of LoadChartFromFile the settings are ok, but no data are shown... What's wrong here?
- Wed May 27, 2009 10:15 am
- Forum: VCL
- Topic: One Axis line not shown
- Replies: 5
- Views: 3499
Hi Cogito, 1. I can see in your table a minimum for Reihe1 as 72,471 (OID 137). And other values lower to 85 (concretely starting at OID 131). I think you should revise it, set left axis as automatic or call SetMinMax to adjust your Left axis. 2. I think you are looking for something like this: Ser...
- Wed May 27, 2009 7:09 am
- Forum: VCL
- Topic: One Axis line not shown
- Replies: 5
- Views: 3499
Hi Cogito, Please, could you send us a simple example project we can run "as-is" to reproduce the problem here? You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page . OK, I've created a short sample and uploaded it. You can see the effect...
- Tue May 26, 2009 12:33 pm
- Forum: VCL
- Topic: One Axis line not shown
- Replies: 5
- Views: 3499
One Axis line not shown
Hello, I use a line chart and have defined axis under the Ticks tab for the bottom axis as solid line. Also I've defined a fixed minimum and maximum value for scale for the left axis (min: 85; max: 130). The problem is now, that the chart doesn't show me the top line (beside the value 130) of my cha...
- Fri May 22, 2009 7:29 am
- Forum: VCL
- Topic: DBChart - custom colors for one series
- Replies: 1
- Views: 1737
DBChart - custom colors for one series
Hello,
I'm new and not experienced with TDBChart, therefore the question might be stupid, but I've a simple bar chart with one series and want to define the first 5 colors. If the chart contains more than 5 values, the other colors doesn't play a role. Could someone tell me how to do this?
I'm new and not experienced with TDBChart, therefore the question might be stupid, but I've a simple bar chart with one series and want to define the first 5 colors. If the chart contains more than 5 values, the other colors doesn't play a role. Could someone tell me how to do this?