FusionChart in Domino
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



FusionChart in Domino Expand / Collapse
Author
Message
Posted 3/27/2007 9:09:44 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/17/2007 8:59:43 AM
Posts: 3, Visits: 3
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

Post #635
Posted 3/28/2007 3:25:42 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 10/3/2008 2:42:18 AM
Posts: 2,117, Visits: 498
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 

Thanks,
Pallav Nadhani
FusionCharts Team

Post #657
Posted 3/29/2007 6:52:19 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/17/2007 8:59:43 AM
Posts: 3, Visits: 3
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

Post #695
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 5:18pm


Execution: 0.188.