Newbies EVERY DETAIL Posted August 8, 2011 Newbies Posted August 8, 2011 I recently took over an outdated project built in FM8 or earlier. There is a function I'm having trouble with which contains the code below. I'm familiar with the most recent graphing capabilities of FM but this "<function missing>" is confusing me. The code creates a bar graph attached to this post. If I try to change anything about this calculation/container I get an error message "A number, text constant, field name or "(" is expected here". The cursor highlights the "<function missing>" piece of code. I'm not clear on how this code even works with that first line... but it does. I need to change the formatting (and therefore code) of this graph. Can anybody point me in the right direction on how to either update this code or deal with the "<function missing>" portion of it? As soon as I remove that function missing part, it breaks the graph. Any help would be greatly appreciated. Thanks in advance. <Function Missing> ( "OpenDrawing (600;635)" & ¶ & " OpenChart(175;10;400;600;on)" & ¶ & " ChartData ( " & $$ChartData & ";" & $$BarChartDataSelf & ")" & ¶ & " BarChart (horizontal+label;90)" & ¶ & "// set up styles" & ¶ & " BorderStyle(all;;;;transparent)" & ¶ & " FillStyle(2;blue)" & ¶ & " FillStyle(1;green)" & ¶ & " LabelStyle(all;Verdana;10;bold;white)" & ¶ & " LabelOptions(all;;-35;-1)" & ¶ & " LabelTexts (all; \"|f1|\" )" & ¶ & "// set up axes" & ¶ & " Scaling(x;linear;1;5;8)" & ¶ & " AxisLine (all;0)" & ¶ & " AxisMajorTicks (all;0)" & ¶ & " AxisMajorTickLabelStyle(all;\"Verdana\";12;bold;;; " & ¶ & " AxisMajorTickLabelTexts(y; " & $$ChartLabels & ")" & ¶ & " MajorGridLineWidths(x;y;0)" & ¶ & " GridFrame()" & ¶ & " CloseChart()" & ¶ & "CloseDrawing()" )
Vaughan Posted August 8, 2011 Posted August 8, 2011 At a guess it's probably a function from a third-party FMP plug-in. A charting plug-in from the looks of it. 1
Newbies EVERY DETAIL Posted August 9, 2011 Author Newbies Posted August 9, 2011 Thank you Vaughan, you were correct, it was a missing "xmchart" plugin, once it was installed, the function names appeared. Thank you for your post!
Recommended Posts
This topic is 4923 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now