-
Content count
943 -
Joined
-
Last visited
-
Days Won
3
Posts posted by srividya_sharma
-
-
Here is the solution:In free version, you need to either set the correct number of div lines or set a decimalPrecision>0 to get this working.
Example, numDivLines=4; or decimalPrecision=1;
Srividya
-
-
It would be great if you could provide the URL that gets generated by your script. Even better, if you could provide the fp7 with layout and script used. That would help me pin-point where the problem is.
Srividya
-
Hi,
In the new Free version, there is a print button on the layout for chart. Try using that button on Mac + safari.
Srividya
-
Have you tried the new version of FusionCharts Free For FileMaker?
There are some fixes made in this version for printing.
Srividya
-
How To Use FusionCharts with FileMaker In Runtime
1. Create runtime for the fp7 files that contain the Web Viewer to show the chart (FusionCharts). While creating the runtime for your primary file, also create runtime for FusionCharts Library.fp7 by adding it to the file list. This file is present in the Charts folder of your download package. Say, you created the runtime in a folder named
-
How To Use FusionCharts with FileMaker In Runtime
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
- Create runtime for the fp7 files that contain the Web Viewer to show the chart (FusionCharts). While creating the runtime for your primary file, also create runtime for FusionCharts Library.fp7 by adding it to the file list. This file is present in the Charts folder of your download package. Say, you created the runtime in a folder named
-
-
Reply to RschDriven
Have you tried the chart sizes mentioned in
http://www.fusioncharts.com/forum/Topic4379-49-1.aspx by daehl
Check it out.
-
This layout for entering the names of the months was removed so that the user is not confused with too many layouts. In this way, the user can concentrate on the chart generation and the scripting.
-
Right-click on the web-viewer and check the URL it is trying to load. See if this path which points to the Charts folder is correct. This will confirm whether the path is right, then the problem might be different from USB drive problem.
-
If FileVault is causing similar problem as the USB drive, then it could be a filepath problem. Please try to modify the path to the Charts folder as given in the post http://www.fusioncharts.com/forum/Topic3393-49-1.aspx
At this point of time, I am not sure what path has to be provided.
-
You would need a file server or a web server configured with FileMaker to acheive this.
Please see the attached word document for detailed guidance.
Please feel free to contact us in case of more queries,
-
Please refer to the documentation pageMulti-Series Script Example > Database Structure
and suheading, Inserting new data. As stated there,
In order to insert values into the Month field, we have to create a layout which contains the Month field as a edit-box or a drop-down with values shown from MonthList and Year field as an edit-box. 2 rows were created for the years 2006 and 2007 with 12 values (corresponding to the 12 months of the year) for the repeating field "Month", using this layout. This was a temporary layout used just to enter the dummy data.
I hope this helps you re-create the application.
-
There are several examples in FusionCharts For FileMaker where you need not click on the portal to generate the correct chart with all values.
The problem you have expressed seems to be specific to the layout in the fp7 and the way the script has been written.
If you can provide the fp7 file, we might be able to help you out.
-
Hello,
From the questions that you have raised, it seems like you have gone through the scripts thoroughly.
(1) In both AppendChartParmaeterToFCURL and AppendChartConfigToFCURL, the statement
Set Cariable [$WebAddress; Value::$$FusionChartsFDilePath] should be placed right after if statement block, not before it. It seems to me before it, the script won't work if $$FusionChartsFDilePath is not initialized.
The statement
Set Variable [ $WebAddress; Value:$$FusionChartsFilePath ]
assigns the value present in the global variable $$FusionChartsFilePath to $WebAddress. In case, FusionCharts was not initialized (which should not be the case, ideally. It is recommended that FusionCharts should be initialized.) then, we use the current directory path and assume that the FusionCharts.html file is present there. This is done within the If statement
If [ IsEmpty($$FusionChartsFilePath) ]
(2) I don't understand the following statement in BuildAndAppendSSDataParams-FrontRepetition
Set Variable [ $data; Value:$data & If($LoopCounter ? 1;$delimiter;"") & GetRepetition ( Evaluate(""&$DataFieldName); LoopCounter )
Why to use Evaluate statement and why to use ""& (to get a expression?) ?
GetRepetition function requires that the repeatingField
be any repeating field, or an expression that returns a reference to a repeating field.In our case, since the Field Name is given as parameter ($DataFieldName) we need to create an expression that returns a reference to the repeating field. This is done by using the Evaluate function.
The use of empty quotes "" and appending the variable $DataFieldName to it, is just precautionary (in case $DataFieldName is not a string). In most cases,however, we can get the same results by using Evaluate($DataFieldName) in place of Evaluate(""&$DataFieldName).
(3) the following statement seems to be useless in the script BVuildAndAppendSSDataParams-BySummingValuesInLayout
Set Variables[$currentValue; Value:0]
(just after "End If" statement, and 3 lines above the "End Loop")
It was just considered to be good scripting practice to reset the value of the important variable $currentValue towards the end of the loop. As such, it is not neccessary here.
We have tried to keep the scripts as efficient as possible, considering different types of scenarios in which they could be used. Even if the scripts seem weird in some places or if there are a few redundant statements here and there, at the end of it all, the scripts work, and serve their purpose. In future, we will try to incorporate the pre-requisites for the scripts, as comments in the scripts.
I hope this answers all your questions.
Thank you for your suggestions.
Please feel free to contact us
-
Hello
FusionCharts Free 1.0.1 For FileMaker does not run from USB drive. This has been handled in FusionCharts Pro For FileMaker and the upcoming version of FusionCharts Free for FileMaker.
Basically, in order for the charts to be rendered from any drive in Mac or Windows, the directory path variable $currentDir should have the following value:
Let ( folderPath=Left ( Get ( FilePath ) ; Position ( Get
( FilePath ) ; "/" ; Length (Get (FilePath)) ; -1));
Let (curDir=folderPath ; If ( Abs ( Get ( SystemPlatform )) = 2 ;
curDir ; Substitute (curDir ; "file:/" ; "file:///Volumes" ) )))
To this path, Charts/FusionCharts.html is further appended to get the complete path.
So, in your example,
file://Storage/Samples/BasicExamples/Charts/FusionCharts.html?v=free ...
should be replaced by
file:///Volumes/Storage/Samples/BasicExamples/Charts/FusionCharts.html?v=free ...
Please try this out.
-
Learner apps> Number Formatting example provided in FusionCharts Pro for FileMaker deals with special characters in number suffix. I have attached a sample application here. In this example, the special characters are addressed.
So, if % is given as the character input for Number Suffix, you can see % in the chart You can also see that in the Query String it gets changed to %2525. This is done by the script. Try this application. -
I have modified the jsp given by you. Please find the jsp in the attached zip file.
Here is the list of changes that were made to the jsp :
1. In the chart xml (dataXML), replace all double quotes (escaped) with single quotes when specifying values for attributes.
2. Use the setDataXML function to set the xml string to the chart object (myChart).
Root element of XML data document has been changed from <graph> to <chart> (from v2.3 to v3 ). However, <graph> element would still continue to work from your old XML documents. But, we recommend using <chart> element for any new charts that you now make.
Thanks,
Srividya
FusionCharts Team
Column 3D with single bar has duplicate Y-axis labels for Ns below 4
in General Usage
Posted · Report reply
Try this in $chartOptions
"?v=free&sep=" &$$delimiter& "&chart=[chartType= & $chartType &$$delimiter& "chartWidth=" &$chartWidth &$$delimiter& "chartHeight=" &$chartHeight& ]&chartParams=[caption=" &$caption& $$delimiter& "subCaption=" &$subCaption& $$delimiter& "formatNumberScale=1" &$$delimiter& "showValues=1" &$$delimiter& "decimalPrecision=1" &$$delimiter& "numberPrefix=;xAxisName=Month;YaxisName=Number of Events;]"
It works for me. Attached is the screenshot.