Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 23 FEB 1998 01:49:52PM Alex Lewin wrote:

HELP!!

I have experienced a problem where after calling ChartObject.ChartSource() to use data from a different data object to produce the graph, the graph refuses to redraw and displays a message to the effect that there is no data available, even though I can clearly see a line of data in the data grid at run-time.

Can you help,

Many thanks,

Alex Lewin.


At 25 FEB 1998 03:58PM Stephen Bellefontaine Revelation wrote:

Hello Alex,

I was able to get the chart object to redraw by first changing the ChartSource to be Data2, then by redrawing the chart….

Script syntax

Chart1.ChartSource=("Data2")

Chart1.DrawChart()

I would suggest creating a new app that use the Start20.nsf database from your vip\work directory.

Use the Sales by Region View, with Region and Sales in Data1, and SalesRep and Sales in Data2.

Preview the chart using Data1, then add the above code to view the chart based on Data2.

My second suggestion would be to create two charts; one for each data object and toggle the visiblility property.

Hope this helps,

ViP/DX Tech Support

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/07b23305a2a201d7852565b40067715d.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1