Coni Loving 16.Oct.02 01:20 PM a Web browser Freelance9.7Windows 2000
I have written a simple lotusscript agent in Notes that creates a Freelance presentation. It creates a chart and populates the data values.
Is it possible to specify the 'Column' and 'Row' labels/legend using LotusScript?
Below is the script used to create and populate the chart values. This works fine, but it is useless if I cannot add the data labels/series legend values.
'create a new chart
Set ChartObj = CurPage.CreateChart
For j = 1 To 4 'rows in the chart data
For k = 1 To 3 'columns in the chart data
v = j + k*2
ChartObj.Series(k).DataPoints(j).Value = v
Next k
Next j
'make this a stacked chart, put it into the placement block
ChartObj.IsStacked = True
Set ClickObj = CurPage.FindObject("ChartPlacementBlock1")
ClickObj.Insert ChartObj
I have looked at DataLabels, TickLabels, ChartDataLabel, and other possible candidates. For the ChartDataLabel class, name property), here is what online help displays:
(Read-write) Get or set the page or drawn object name; for any other type of Freelance Graphics object this property can only get the name.
Note Read-only except for the Page and DrawObject classes.
Can someone point me in a direction or offer an alternative such as creating the chart in another SmartSuite application and then importing it into the FLG presentation (all programmatically, if possible).