Blank Chart
Hi,
I'm still trying to work through my problems understanding the way Fast Reports works, so I still need help. I have a Master Data Band that gets its data from a TfrDBEQuery object with a Child Band associated to it also. I have on that Child Band, a TfrChartView (I inserted a chart object) that gets its data from two TfrMemoView objects found on the Master Data Band.
My problem comes into this, I don't want to see the data from the Master Data Band in rows and columns, as the Master Data Band displayes, but rather simply see it in the TfrChartView. But when I set the visible property of the Master Data Band to False and the PrintChildIfInvisible to True, I get a blank space in my report. Its about the same size as the chart is supposed to be. But there is nothing, nada, zip, ziltch. But if I go back and set the visible property to True again, then I see the chart.
Is this a bug or a designed response? If it is the desired response, I believe it's the wrong response. Can someone help me understand please?
Thank if you can, and even if you cant.
Randel
I'm still trying to work through my problems understanding the way Fast Reports works, so I still need help. I have a Master Data Band that gets its data from a TfrDBEQuery object with a Child Band associated to it also. I have on that Child Band, a TfrChartView (I inserted a chart object) that gets its data from two TfrMemoView objects found on the Master Data Band.
My problem comes into this, I don't want to see the data from the Master Data Band in rows and columns, as the Master Data Band displayes, but rather simply see it in the TfrChartView. But when I set the visible property of the Master Data Band to False and the PrintChildIfInvisible to True, I get a blank space in my report. Its about the same size as the chart is supposed to be. But there is nothing, nada, zip, ziltch. But if I go back and set the visible property to True again, then I see the chart.
Is this a bug or a designed response? If it is the desired response, I believe it's the wrong response. Can someone help me understand please?
Thank if you can, and even if you cant.
Randel
Comments
the chart view is a very limited tchart and it depends upon the values in the memos given for data and legend, if not visible then no values, no chart.
regards
I'll be honest, I don't completely understand why it was designed that way. But, since I didn't disign it I guess I'm not supposed to. However, since what I am trying to do is not availible, can you give me another option?
I have started looking into arrays. I believe I have an array that has the data I want, but I'm not sure how to get that into the chart, or even if that is possible.
My array is designed as such: PlantName, AuditType, & PPM. In this way, every forth eliment is of a specific "type".
Array[0] = Plant1;
Array[1] = Type1;
Array[3] = 99.99;
Array[4] = Plant2;
Array[5] = Type2;
Array[6] = 99.99;
Array[7] = Plant3;
Array[8] = Type3;
Array[9] = 99.99;
Any ideas? Any one?
Randel
IMHO
If you want to do any serious work with charts it is much easier to work with an external tchart update the chart and then assign the chart to the frchart object in either an event of the report component or in script of memo of chart object.
regards
Thanks for the info. But your comments make me ask another question. IMHO, means what?
As for trying to use a chart object in C++ Builder and updating the Fast Report's chart, isn't an option at this point. I'm trying to make all my reports self-sufficient.
Randel