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

Comments

  • edited 11:49AM
    I made a mistake. My chart was in a Child Band, but I was having problems getting the first record to show up without my report creating two charts. So I ended up putting it into a Master Data Footer Band. That solved my missing first record problem. But I still can not get the chart to show with data in it if the Master Data Band is invisible. ;)
  • gordkgordk St.Catherines On. Canada.
    edited 11:49AM
    It is as designed
    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 ;)
  • edited 11:49AM
    Thanks for the info gork,

    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
  • gordkgordk St.Catherines On. Canada.
    edited 11:49AM
    Hi
    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 ;)
  • edited 11:49AM
    gordk,

    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

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.