gizzmo Report post Posted March 27, 2007 Hi I try to use FusionChart inside a Domino client. Not through a web application. I can create a flashobject and set the FlashVars property to accept dataXML throught LotusScript. However, the size of the flashobject is by default 192px. Way to small for me. I tried to set the width with just flashChart.width = 200, where flashChart is my object. I'm not sure how the API works. Anyone with a clue how to solve it? Code looks like this in LotusScript: Sub Initialize Dim ws As New NotesUIWorkspace Dim uidoc As NotesUIDocument Dim flashChart As Variant Dim data As String Set uidoc = ws.CurrentDocument Set flashChart = uidoc.GetObject( "FlashChart" ) data = "" & _ "<chart caption='Monthly Sales Summary' subcaption='For the year 2006' xAxisName='Month' yAxisName='Sales' numberPrefix='$'>" & _ "<set label='January' value='17400' />" & _ "<set label='February' value='19800' />" & _ "<set label='March' value='21800' />" & _ "<set label='April' value='23800' />" & _ "<set label='May' value='29600' />" & _ "<set label='June' value='27600' />" & _ "<set label='July' value='31800' />" & _ "<set label='August' value='39700' />" & _ "<set label='September' value='37800' />" & _ "<set label='October' value='21900' />" & _ "<set label='November' value='32900' />" & _ "<set label='December' value='39800' />" & _ "</chart>" If Not flashChart Is Nothing Then flashChart.FlashVars = "dataXML=" & data Call flashChart.Play() End If End Sub // Johan Share this post Link to post Share on other sites
Pallav Report post Posted March 28, 2007 Hi, I'm afraid we've not yet integrated FusionCharts with Domino in-house. However, a few developers have successfully tried it. You may read one at http://www.ferdychristant.com/blog/articles/DOMM-6NDQEJ Share this post Link to post Share on other sites
gizzmo Report post Posted March 29, 2007 Hi I successfully integrated it into Domino. The problem with Ferdy Christant's solution is that it's based on HTML-passthorugh and a web-client. In my solution I only need the Notes client and not any browser at all. But it falls in the end anyway. Because I can't print the page, only the chart if I right-click and selects print. So it is back to a web-based solution. Johan Share this post Link to post Share on other sites