 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
DJV Guest
|
Posted: Mon Jun 27, 2005 2:25 pm Post subject: VTCHART - Please restrict responses to the question I posed. |
|
|
"DJV" <ventruella (AT) hotmail (DOT) com> wrote:
| Quote: |
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.
I tried to get an answer to this, and instead got SPAMMED with comments on the lack of line returns, which might lead some to mistakenly believe that I had already gotten three relevant responses. Of course, I have not. Anyone with insight into this problem with VTCHART, please respond. Thanks. |
|
|
| Back to top |
|
 |
JD Guest
|
Posted: Mon Jun 27, 2005 2:47 pm Post subject: Re: VTCHART - Please restrict responses to the question I po |
|
|
"DJV" <ventruella (AT) hotmail (DOT) com> wrote:
| Quote: |
I tried to get an answer to this, and instead got SPAMMED with comments on the lack of line returns, which might lead some to mistakenly believe that I had already gotten three relevant responses. Of course, I have not. Anyone with insight into this problem with VTCHART, please respond. Thanks.
|
You did recieve a reply with useful information:
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
Not only were you asked to PLEASE wrap your lines, which you
DID NOT (again), you were also informed that you were posting
in the wrong group.
Please direct your browser to:
http://support.borland.com/entry.jspa?entryID=292
and read the guide lines and and especially the part about
etiquette as they apply to using Borland's server.
~ JD
|
|
| Back to top |
|
 |
DJV Guest
|
Posted: Mon Jun 27, 2005 4:21 pm Post subject: Re: VTCHART - Please restrict responses to the question I po |
|
|
"JD" <nospam (AT) nospam (DOT) com> wrote:
| Quote: |
"DJV" <ventruella (AT) hotmail (DOT) com> wrote:
I tried to get an answer to this, and instead got SPAMMED with comments on the lack of line returns, which might lead some to mistakenly believe that I had already gotten three relevant responses. Of course, I have not. Anyone with insight into this problem with VTCHART, please respond. Thanks.
You did recieve a reply with useful information:
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
Not only were you asked to PLEASE wrap your lines, which you
DID NOT (again), you were also informed that you were posting
in the wrong group.
Please direct your browser to:
http://support.borland.com/entry.jspa?entryID=292
and read the guide lines and and especially the part about
etiquette as they apply to using Borland's server.
~ JD
Sir, I refer you to the guideline regarding "staying on topic". As for wrapping lines, hitting return doesn't work with this browser, I tried. |
|
|
| Back to top |
|
 |
Bob Gonder Guest
|
Posted: Mon Jun 27, 2005 5:27 pm Post subject: Re: VTCHART - Please restrict responses to the question I po |
|
|
DJV wrote:
| Quote: | Sir, I refer you to the guideline regarding "staying on topic". As for wrapping lines, hitting return doesn't work with this browser, I tried.
|
Then stay on topic in the proper group.
|
|
| Back to top |
|
 |
Hendrik Schober Guest
|
Posted: Tue Jun 28, 2005 10:33 am Post subject: Re: VTCHART - Please restrict responses to the question I po |
|
|
DJV <ventruella (AT) hotmail (DOT) com> wrote:
| Quote: | [...]
Sir, I refer you to the guideline regarding "staying on topic". As for wrapping lines, hitting return doesn't work with this
browser, I tried.
|
Had you tried to learn from the answers that you
disregarded as spam and reposted according to the
newsgroup guidelines, you would probably already
have been given a helpful answer. Instead you're
barking at the one person still giving you helpful
information.
<sarcasm>I am sure you will get very many helpful
responses if you keep to this habit.</sarcasm>
*plonk*
Schobi
--
[email]SpamTrap (AT) gmx (DOT) de[/email] is never read
I'm Schobi at suespammers dot org
"Coming back to where you started is not the same as never leaving"
Terry Pratchett
|
|
| Back to top |
|
 |
Hendrik Schober Guest
|
Posted: Tue Jun 28, 2005 10:36 am Post subject: Re: VTCHART - Please restrict responses to the question I po |
|
|
Hendrik Schober <SpamTrap (AT) gmx (DOT) de> wrote:
| Quote: | DJV <ventruella (AT) hotmail (DOT) com> wrote:
[...]
Sir, I refer you to the guideline regarding "staying on topic". As for wrapping lines, hitting return doesn't work with this
browser, I tried.
|
Oh, and as for that -- I wonder how you managed to
get the code formatted so nicely without CR/LF?
Schobi
--
[email]SpamTrap (AT) gmx (DOT) de[/email] is never read
I'm Schobi at suespammers dot org
"Coming back to where you started is not the same as never leaving"
Terry Pratchett
|
|
| Back to top |
|
 |
JD Guest
|
Posted: Tue Jun 28, 2005 11:42 am Post subject: Re: VTCHART - Please restrict responses to the question I po |
|
|
"Hendrik Schober" <SpamTrap (AT) gmx (DOT) de> wrote:
| Quote: |
Oh, and as for that -- I wonder how you managed to
get the code formatted so nicely without CR/LF?
|
OMG! Too bad I missed that one <g>.
~ JD
|
|
| 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
|
|