 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
DJV Guest
|
Posted: Sun Jun 26, 2005 6:42 am Post subject: VtChart |
|
|
It appears that Borland Builder6.0 comes with VtChart, which looks very much like the ActiveX control that comes with VB 5.0. I am seeking to learn how to programatically assign data to the chart elements. It appears that this control will also permit certain elements to be rendered not visible, which may enable me to eliminate the problem with unequal series of points being plotted. Unfortunately, it appears that the "Data" property is no longer defined to be a number under Borland Builder. When I type in the following:
VtChart1->ChartType = VtChChartType3dBar;
VtChart1->ColumnCount = 8;
VtChart1->RowCount = 8;
int column, row;
for(column=0; column<8; column++)
{
for (row = 0; row<8; row++)
VtChart1->Column = column;
VtChart1->Row = row;
VtChart1->Data = row * 10 }
}
I get a problem with "VtChart1->Data = row * 10" due to the Data property being a string under Builder, while the example in the instruction book on the CD claims that the code in the original example (apparently written for Visual Basic) is written in such a manner so as to cause "Data" to be able to be set equal to the value of "row * 10".
How do you set data points programmatically with this control?Any way to get this straightened out? My goal is to be able to plot a series of six points then plot a series of, say, a hundred points, and be able to show both on the same X-Y plot, without introducing 94 meaningless points on the six point plot.
|
|
| Back to top |
|
 |
JD Guest
|
Posted: Sun Jun 26, 2005 7:16 am Post subject: Re: VtChart |
|
|
"DJV" <ventruella (AT) hotmail (DOT) com> wrote:
Please wrap your lines when you post. Your editor may visually
wrap them for you but you need to enter a hard return at the
end of each line.
| Quote: | It appears that Borland Builder6.0 comes with VtChart, [...]
|
This group is for the discussion of Borland's implementation
of the C++ language. Your question would best be asked in the
vcl.using group.
I would suggest that you read the import lib header file - VCFI.hpp
and using the help file VCFI.hlp and then search the archives:
http://www.tamaracka.com/search.htm
~ JD
|
|
| Back to top |
|
 |
Rudy Velthuis [TeamB] Guest
|
Posted: Sun Jun 26, 2005 10:47 am Post subject: Re: VtChart |
|
|
At 09:16:11, 26.06.2005, JD wrote:
| Quote: |
"DJV" <ventruella (AT) hotmail (DOT) com> wrote:
Please wrap your lines when you post. Your editor may visually
wrap them for you but you need to enter a hard return at the
end of each line.
|
He uses the http interface of the server. That blasted thing does not
wrap properly.
--
Rudy Velthuis [TeamB] http://velthuis.homepage.t-online.de
"I was raised in the Jewish tradition, taught never to marry a
Gentile woman, shave on a Saturday night and, most especially, never
to shave a Gentile woman on a Saturday night." -- Woody Allen.
|
|
| Back to top |
|
 |
JD Guest
|
Posted: Sun Jun 26, 2005 12:58 pm Post subject: Re: VtChart |
|
|
"Rudy Velthuis [TeamB]" <velthuis (AT) gmail (DOT) com> wrote:
| Quote: |
He uses the http interface of the server. That blasted thing does not
wrap properly.
|
Actually, it doesn't wrap at all. That's why the page says:
Please enter your message text here:(press enter at the end of each line)
~ JD
|
|
| Back to top |
|
 |
gianlucaspm Guest
|
Posted: Mon Jun 27, 2005 12:01 am Post subject: Boost program_options library |
|
|
Hi to all,
Is Borland compiler bcc32 5.5.1 able to compile program_options library?
I'm getting "internal compiler error" on compiling convert.cpp.
Can anyone help me? (
Thanks in advance,
Gianluca
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|