Futurama Logo

Welcome to the Futurama Support Site

The Futurama Support Site is the website where you can find Futurama and Futurama Vision documentation. If you have any questions about the support pages or if you want to provide us feedback please send us an e-mail.




Index GraphConverter
Previous  |  Next

 1      About Futurama
 1.1        Version information
 1.2        Getting Started
 1.2.1          Futurama Website
 1.2.1.1            Behavior of Futurama regarding TimeOuts, Login and Logoff
 1.2.1.2            Replacing an existing Futurama Session
 1.2.2          Futurama Webservice
 1.2.2.1            warmUpDocuments
 1.2.3          Futurama Export
 1.3        Overview - Futurama Modules
 1.3.1          Overview - Futurama Accounts
 1.3.2          Overview - Futurama Server
 1.3.3          Overview - Futurama Monitor
 1.3.4          Overview - Futurama Insight
 1.3.5          Overview - Futurama Console
 1.3.6          Overview - Futurama Webservice
 1.4        Loadbalancing Futurama applications
 1.4.1          Getting the most out of Futurama Web using the Load-Balancer
 1.4.2          Application Request Routing
 1.5        Text management and Multi-language
 2      Installation – Configuration – Testing
 2.1        Installation - Futurama Website Edition
 2.1.1          Installation Futurama HTML
 2.1.2          Installation Futurama Monitor
 2.1.3          Installation Futurama Insight
 2.1.4          Installation Futurama Accounts
 2.1.5          Installation SAML2LoadBalancer
 2.2        Installation - Futurama Export Edition
 2.2.1          Installation Futurama Console
 2.2.2          Installation Futurama Server
 2.3        Installation - Futurama Webservice Edition
 2.3.1          Installation Futurama Webservice
 2.4        Installation Futurama Editor
 2.5        Configuration
 2.5.1          Configuration - Cache
 2.5.2          Configuration - Calculation
 2.5.3          Configuration - Debug
 2.5.4          Configuration - File manager
 2.5.5          Configuration - Fileproviders
 2.5.6          Configuration - Format
 2.5.7          Configuration - History
 2.5.8          Configuration - Identity Provider
 2.5.9          Configuration - Log
 2.5.10           Configuration - Mail
 2.5.11           Configuration - Mapping
 2.5.12           Configuration - Monitor
 2.5.13           Configuration - PlugIns
 2.5.14           Configuration - Rendering
 2.5.15           Configuration - ScenarioRecording
 2.5.16           Configuration - Security
 2.5.17           Configuration - Server
 2.5.18           Configuration - Vision
 2.5.19           Configuration - WebAPI
 2.6        Logging
 2.7        Troubleshooting
 2.8        Security - hardening
 3      Updating and file compatibility
 3.1        Updating Futurama - Compatibility behavior
 3.2        Converting Futurama documents
 3.3        12819 - DataTable file updates
 3.4        12889 - DataTable file updates
 3.5        Conversion web.config to .NET Framework 4
 3.6        Deprecated conversion formulas
 4      Futurama Editor - How to
 4.1        At first glance
 4.2        Developing in the Futurama Editor
 4.2.1          Working with objects
 4.2.2          Evaluating objects
 4.2.3          Finding objects
 4.3        Transferring objects
 4.4        Testing objects
 4.5        Validating objects
 4.6        Troubleshooting objects
 4.7        Advanced/special functionality
 4.8        Checking the layout of objects
 5      Futurama - Formulas
 5.1        Futurama Formulas - Date and time
 5.1.1          Date
 5.1.2          Day
 5.1.3          Days360
 5.1.4          Days360Excel
 5.1.5          DaysInMonth
 5.1.6          DaysInPeriod
 5.1.7          Min
 5.1.8          Max
 5.1.9          Month
 5.1.10           Now
 5.1.11           WeekDay
 5.1.12           Year
 5.2        Futurama Formulas - Math
 5.2.1          Abs
 5.2.2          Add
 5.2.3          Divide
 5.2.4          Floor
 5.2.5          Ln
 5.2.6          Log
 5.2.7          Log10
 5.2.8          Mod
 5.2.9          Multiply
 5.2.10           Pi
 5.2.11           Power
 5.2.12           Rand
 5.2.13           Round
 5.2.14           RoundDown
 5.2.15           RoundUp
 5.2.16           SquareRoot
 5.2.17           Subtract
 5.3        Futurama Formulas - Statistical
 5.3.1          AverageDeviation
 5.3.2          Beta
 5.3.3          Binomial
 5.3.4          Covariance
 5.3.5          Factorial
 5.3.6          Gamma
 5.3.7          GeometricMean
 5.3.8          Lognormal
 5.3.9          Max
 5.3.10           Median
 5.3.11           Min
 5.3.12           Normal
 5.3.13           StandardDeviation
 5.3.14           Uniform
 5.3.15           Variance
 5.4        Futurama Formulas - Text
 5.4.1          CalculateBase64Hashcode
 5.4.2          CalculateXmlHashcode
 5.4.3          Concatenate
 5.4.4          ConcatenateBase64
 5.4.5          ContainsText
 5.4.6          Convert.CSV.2.XML
 5.4.7          ConvertFromBase64
 5.4.8          ConvertToBase64
 5.4.9          ConvertXml
 5.4.10           DecodeURL
 5.4.11           DecryptXml
 5.4.12           EncodeURL
 5.4.13           EncryptXml
 5.4.14           Find
 5.4.15           HashBase64EncodedFile
 5.4.16           HashBase64EncodedFileWithBase64
 5.4.17           HashText
 5.4.18           HashTextWithBase64
 5.4.19           Left
 5.4.20           Len
 5.4.21           Linefeed
 5.4.22           Lower
 5.4.23           Mid
 5.4.24           Proper
 5.4.25           ReadConfigKey
 5.4.26           ReadDirectoryNames
 5.4.27           ReadFile
 5.4.28           ReadFileAsBase64
 5.4.29           ReadFileNames
 5.4.30           ReadFileWithEncoding
 5.4.31           ReadXPathScalar
 5.4.32           ReadXPathVector
 5.4.33           Repeat
 5.4.34           Right
 5.4.35           Substitute
 5.4.36           Trim
 5.4.37           TrimLeft
 5.4.38           TrimRight
 5.4.39           Upper
 5.4.40           ValidatePattern
 5.4.41           XsdMessages
 5.5        Futurama Formulas - Logical
 5.5.1          And
 5.5.2          IsEmpty
 5.5.3          If
 5.5.4          IsEqual
 5.5.5          IsEven
 5.5.6          IsGreater
 5.5.7          IsGreaterEqual
 5.5.8          IsIBANChecksumValid
 5.5.9          IsLess
 5.5.10           IsLessEqual
 5.5.11           IsMemberOfGroup
 5.5.12           IsNotEqual
 5.5.13           IsOdd
 5.5.14           IsValidXml
 5.5.15           Not
 5.5.16           Or
 5.5.17           ValidateNPR
 5.6        Futurama Formulas - Table
 5.6.1          FindNextRow
 5.6.2          FindPreviousRow
 5.6.3          FindRow
 5.6.4          Sort
 5.6.5          VLookUp
 5.7        Futurama Formulas - Document
 5.7.1          CountErrors
 5.7.2          GetPathToDataFiles
 5.7.3          GetPortNumber
 5.7.4          GetRelativePathToDataFiles
 5.7.5          GetSessionID
 5.7.6          IsLicenceAvailable
 5.7.7          ReadError
 5.7.8          ReadIdentityProviderResult
 5.7.9          ReadRequestIP
 5.7.10           ReadRequestParameter
 5.7.11           ReadUserAgent
 5.7.12           ReadVersionNumber
 5.7.13           SessionTimeOut
 5.7.14           URL
 5.7.15           UserName
 5.8        Futurama Formulas - Conversion
 5.8.1          Convert.Excel.to.XML
 5.8.2          ConvertJSONtoXml
 5.8.3          ConvertTextToDate
 5.8.4          ConvertTextToNumber
 5.8.5          ConvertToBoolean
 5.8.6          ConvertToDouble
 5.8.7          ConvertToLong
 5.8.8          ConvertToString
 5.8.9          FormatDate
 5.8.10           FormatNumber
 5.8.11           Value
 5.9        Futurama Formulas - Matrix
 5.9.1          AddMatrices
 5.9.2          AddScalarToMatrix
 5.9.3          Cumulative
 5.9.4          CumulativeProductMatrix
 5.9.5          Distinct
 5.9.6          DivideMatrices
 5.9.7          DivideMatrixScalar
 5.9.8          DivideScalarMatrix
 5.9.9          Exponent
 5.9.10           First
 5.9.11           Floor
 5.9.12           If
 5.9.13           Index
 5.9.14           Inverse
 5.9.15           IsEqual
 5.9.16           IsGreater
 5.9.17           IsGreaterEqual
 5.9.18           IsNotEqual
 5.9.19           IsLess
 5.9.20           IsLessEqual
 5.9.21           Join
 5.9.22           Last
 5.9.23           Length
 5.9.24           MatrixProduct
 5.9.25           Max
 5.9.26           MaxScalarMatrix
 5.9.27           Mean
 5.9.28           Mid
 5.9.29           Min
 5.9.30           MinScalarMatrix
 5.9.31           MultiplyMatrices
 5.9.32           MultiplyMatrixVector
 5.9.33           MultiplyScalarMatrix
 5.9.34           Percentile
 5.9.35           PowerMatrix
 5.9.36           PowerMatrixScalar
 5.9.37           PowerScalarMatrix
 5.9.38           ReadMatrixFromXml
 5.9.39           Repeat
 5.9.40           Replace
 5.9.41           Reshape
 5.9.42           ReverseCumulativeProductMatrix
 5.9.43           ReverseMatrix
 5.9.44           Size
 5.9.45           Split
 5.9.46           SquareRootMatrix
 5.9.47           Step
 5.9.48           SubtractMatrices
 5.9.49           SubtractMatrixScalar
 5.9.50           SubtractScalarMatrix
 5.9.51           Sum
 5.9.52           Transpose
 5.9.53           UnitMatrix
 5.9.54           Vector
 5.10         Creating custom formulas in Futurama
 6      Futurama - Objects
 6.1        Action
 6.2        Aggregation
 6.3        Button
 6.4        ChangeValue
 6.5        CheckBox
 6.6        ClearCache
 6.7        DatabaseField
 6.8        DatabaseView
 6.9        DataTable
 6.10         DateBox
 6.11         DocConverter
 6.12         Document
 6.13         Download
 6.14         DropDownList
 6.15         EmailConverter
 6.16         ExcelConverter
 6.17         FileSaver
 6.18         FileUploader
 6.19         Fixed
 6.20         Formula
 6.21         GraphConverter
 6.22         HTMLInclude
 6.23         InterfacesNode
 6.24         LogMessage
 6.25         Navigator
 6.26         Node
 6.27         RadioButton
 6.28         RadioGroup
 6.29         Range
 6.30         Reference
 6.31         SubDocument
 6.32         TextBox
 6.33         UserTable
 6.34         UserVariable
 6.35         WebLabel
 6.36         WebListBox
 6.37         WebPage
 6.38         WebPanel
 6.39         WebReference
 6.39.1           WebReference - WCF Configuration
 6.40         WebService
 6.41         WebSlider
 6.42         WordConverter
 6.43         XmlBuilder
 6.44         XmlConverter
 6.45         XmlField
 6.46         XmlNode
 7      Futurama - Vision References
 7.1        Data
 7.1.1          ReadData
 7.1.2          WriteMessage
 7.1.3          GetPersonIdentifiers
 7.1.4          CreatePerson
 7.2        DataStore
 7.2.1          DeleteDataItem
 7.2.2          DeleteDataItemHierarchy
 7.2.3          DeleteDataItems
 7.2.4          GetDataItem
 7.2.5          GetDataItemHierarchy
 7.2.6          GetDataItems
 7.2.7          StoreData
 7.3        Accounts
 7.3.1          Activate Account
 7.3.2          Change Account
 7.3.3          Create Account
 7.3.4          GetQuestion
 7.3.5          GetQuestions
 7.3.6          Login
 7.3.7          ReadData
 7.3.8          ReinitializeAccount
 7.4        General
 7.4.1          TestConnection
 8      Futurama Vision
 8.1        Installation Futurama Vision
 8.1.1          Installation Futurama Vision Management Site
 8.1.2          Installation or Upgrade of the Futurama Vision Database
 8.2        Futurama Vision Management Site
 8.2.1          Futurama Vision Management Site - Admin
 8.2.2          Futurama Vision Management Site – Security
 8.2.3          Futurama Vision Management Site – Skinning
 8.2.4          Importing data into Futurama Vision
 8.2.4.1            Importing data by webservice
 8.2.4.2            Importing data from a Zip-file
 8.2.4.3            Importing data with Futurama Vision Batch
 8.2.4.4            Futurama Vision Webservice Security
 8.2.5          Further processing of data into Futurama Vision
 8.3        Futurama Vision File manager
 8.4        Activity overview
 8.5        Storing data in Vision from a Futurama application
 8.6        Futurama Vision – Data
 8.7        Futurama Accounts - Management Site
 8.7.1          Futurama Accounts - Table in Vision Database
 8.8        Futurama Server - Management Site
 8.8.1          Special Futurama Server Jobs
 8.9        Futurama Register - Management Site
 8.9.1          Configuration - Futurama Register
 8.10         Retrieving AppEvents from Futurama Vision
 8.11         Adding CustomPages to Vision
 9      Futurama Intermediate Control Output (FICO)
 9.1        FICO example - Change/Add HTML headers
 9.2        FICO example - Change Graph
 9.3        HTML5 Template
 10       Futurama Web API
 10.1         Postbacks of Futurama webcontrols
 10.2         Retrieving Resources using Web API
 10.3         WebAPI Session management
 11       Tutorials - Overview
 11.1         Tutorials - Examples and Downloads
 11.2         Beginners
 11.2.1           Creating formulas with Futurama
 11.2.1.1             Exercise 1: Pythagorean Theorem (Easy)
 11.2.1.2             Exercise 2: Newspaper stall (Medium)
 11.2.1.3             Exercise 3: Recursive functions (Difficult)
 11.2.1.4             Exercise 4: Leap Year (Difficult)
 11.2.1.5             Exercise 5: The Guessing Game I (Medium)
 11.2.2           Creating a Website Application
 11.2.2.1             Exercise 1: Creating a Website (Easy)
 11.2.3           Styling your website with CSS
 11.2.3.1             Exercise 1: Adding CSS (Easy)
 11.2.4           Adding interactivity to your website
 11.2.4.1             Exercise 1: Summation (Easy)
 11.2.4.2             Exercise 2: The Guessing Game II (Medium)
 11.2.4.3             Exercise 3: Nationality (Medium)
 11.2.4.4             Exercise 4: Nationality - RepeatTarget (Medium)
 11.2.4.5             Exercise 5: Reversed Guessing (Difficult)
 11.2.5           Working with Tables
 11.2.5.1             Exercise 1: Average (Easy)
 11.2.5.2             Exercise 2: Boundary values (Difficult)
 11.2.5.3             Exercise 3: Standard Deviation (Medium)
 11.2.6           Reading and processing XML-data in Futurama
 11.2.6.1             Exercise 1: Shares (Medium)
 11.2.7           Adding Graphs in Futurama
 11.2.7.1             Exercise 1: World Population (Easy)
 11.2.8           Working with Actions in Futurama
 11.2.8.1             Exercise 1: Changing Colors (Easy)
 11.2.8.2             Exercise 2: On and Off (Medium)
 11.2.8.3             Exercise 3: The ChangeValue object (Difficult)
 11.2.8.4             Exercise 4: The Guessing Game III (Medium)
 11.2.8.5             Exercise 5: CheckBox (Medium)
 11.2.9           Multiple Pages and Navigation
 11.2.10            Using XSLT to display data
 11.2.10.1              Exercise 1: Overview Summation (Easy)
 11.2.10.2              Exercise 2: Persons (Medium)
 11.2.10.3              Exercise 3: Leap Year Overview (Difficult)
 11.2.11            Webservices in Futurama
 11.2.11.1              Exercise 1: Example (Easy)
 11.2.12            Creating a Webservice Application
 11.2.12.1              Exercise 1: Add (Easy)
 11.2.12.2              Exercise 2: Webservice Nationality (Medium)
 11.2.13            Creating a Console Application
 11.2.13.1              Exercise 1: Adding extra fields (Easy)
 11.2.14            Generating Documents
 11.2.14.1              Exercise 1: Tax Rate (Medium)
 11.2.14.2              Exercise 2: Tax Rates Table (Difficult)
 11.3         Advanced
 11.3.1           Responsive Design
 11.3.1.1             Exercise 1: Orientation
 11.3.1.2             Exercise 2: Target different screen sizes
 11.4         Older Tutorials (Futurama Version 3.2)
 11.4.1           Futurama Editor Tutorial 1: The first sum
 11.4.2           Futurama Editor Tutorial 2: An annuity
 11.4.3           Futurama Editor Tutorial 3: Working with tables
 11.4.4           Futurama Editor Tutorial 4: Modelling a DB pension plan
 11.4.5           Futurama Editor Tutorial 5: Working with XML
 11.4.6           Futurama Web Tutorial 1: Hello world
 11.4.7           Futurama Web Tutorial 2: Buttons and Actions
 11.4.8           Futurama Web Tutorial 3: Textboxes
 11.4.9           Futurama Web Tutorial 4: DropdownLists
 12       Miscellaneous
 12.1         Responsive website
 12.2         Reducing memory usage for XmlNodes and XmlFields
 12.3         Explaining caching for websites and webservices
 12.4         Certificates - basic information
 12.5         Performance XML operations
 12.6         Creating XSD files and using them in combination with Futurama
 13       Templates
 14       Safe2Save WebAPI Sample
View  |  Print  |  PDF

451 documents found.


GraphConverter

Developer
Futurama-Objects
Futurama-Editor
Output-Objects

Module: Editor

Version: 2.2.1 +

User: Developer

Object Type: Output Object

Parent of:

no children

Child of:

- WebPage

- WebPanel

 

Description

A GraphConverter object provides a graph as output on a website or within a document (PDF or Word). The GraphConverter enables you to visualize data with a variety of different graph types.

Properties

DebugLogMode (from version 4.1)

Indicates the level of detail of debug information that is logged during runtime of the website to the trace, a logfile, a database etc. The possible values are:

  • None: no debug information is logged
  • Simple: only basic information is given
  • Extended: in addition to the information in the Simple mode the values of all the properties of the object are shown

Enabled

Possible values are 'True' or 'False'. If the value is 'False', then the object can not be used within the application.

IsPublic

Possible values are 'True' or 'False'. If the value is 'False', then the object can only be used within the document where it is created. If the value is 'True', then also from other Futurama documents can be referred to this object. This means that changes in the object also affect the document in which is referred to this object. If the value is 'True' and you attempt to move or delete the object, a warning will be given. To limit these warnings to a minimum it is recommended to set IsPublic to 'True' only when necessary.

ToolTip

In the property Tooltip a text can be entered that is shown in the application when a cursor is moved across the GraphConverter. In this way information about the usage of the GraphConverter can be given to the user. From Futurama version 18.02 it is also possible to define the texts within a ResourceDocument. See the page Text management and Multi-language.

Visible

Possible values are 'True' or 'False'. If the value is 'True', the object will be rendered and therefore displayed in your application. If the value is 'False', the object will not be rendered.

(Name)

The name of the object.

Comment

Here a comment can be entered. For example a short description of the object.

ID

The unique identification number of the object. This number is automatically generated by Futurama on the moment of creation. This number can be used when searching for a certain object in the Find Window.

Series

In this property you can add multiple data series that should be displayed in the graph. After clicking the edit-box, a popup will appear in which series can be added, deleted and organised. For each series an array of input data is required, which represent the Y-values of that specific series. Each array should hold as much elements as the table that is entered in the XValues properties.

Each series has a number of properties of its own, to configure the representation of it. These properties are explained at the bottom of this page.

Annotations  (Futurama 17.09+)

Here you can add and configure an Annotation to a DataPoint. Each annotation contains the following of subproperties:

  • AbsolutePositioning: this property determines if this Annotation is linked to a specific datapoint, or if you want to position it based on the X and Y value. When this property is set to True, AnchorAlignment, OffSetX and OffSetY are not available.
  • AnchorAlignment: this property determines how the Annotation is anchored to the datapoint.
  • AnnotationType: the type of Annotation that you want to use. Some properties are only available for specific AnnotationTypes
  • BackColor: the color of the background of the annotation
  • BorderColor: the color of the border and the lines of the annotation
  • CallOutStyle: the type of CallOut you want to use. Only available for the AnnotationType CallOut
  • EnableSmartLabels: this property is currently not in use
  • ForeColor: the color of the texts of the annotation
  • HideOverlapped: this property is currently not in use
  • ImageFileName: the relative path (relative to the Futurama document that is opened) of the image file that is used in AnnotationStyle Image
  • OffSetX: the percentage of the graph width to offset the position in horizontal direction. Negative offset means annotation goes up.
  • OffSetY: the percentage of the graph height to offset the position in vertical direction. Negative offset means annotation goes to the left.
  • Height: the height of a line. Only applicable for AnnotationStyle: Line, VerticalLine or HorizontalLine
  • LineDashStyle: the line dash style of the line. Only applicable for AnnotationStyle: Line, VerticalLine or HorizontalLine
  • LineEnd. The type of picture to use for the end of the line. Only applicable for AnnotationStyle: Line, VerticalLine or HorizontalLine
  • LineStart: The type of start picture to use for the start of the line. Only applicable for AnnotationStyle: Line, VerticalLine or HorizontalLine
  • LineStart: The width of the line. Only applicable for AnnotationStyle: Line, VerticalLine or HorizontalLine

AntiAliasing

AntiAliasing is the process of making the edges in your graph smoother. This applies to the series in the graph as well as the characters displayed in e.g. the axes or legenda. Possible values are 'Text', 'Graphics', 'All' and 'None'. Pay attention, if the value ‘Text’ or ‘All’ is selected, the background color can’t be transparent. You can only use these values with a solid background color.

BackColor

Here you can enter the background color of the graph. With this color you can also use a level of transparency. To use the transparency, you have to add the level of transparency in front of the color. This way an Argb color code is used, where the A stands for the level of transparency. The value of A is an integer between 0 and 255, where 255 is the default with no transparency and 0 means the color is fully transparent. If only the rgb color code is supplied, the default A value of 255 will be used.

BackGradientEndColor

This property only applies when the BackGradientType property (below) is not set to 'None'. In the BackGradientEndColor property you can then specify a second color to create a gradient background.

BackGradientType

In the BackGradientType property you can configure your graph to have a gradient background. If the value 'None' is selected, the background color is equal to the color set in the BackColor property. If one of the other values is chosen, the background will have a gradient that transits from the BackColor to the BackGradientEndColor, in the direction specified by the chosen BackGradientType.

BackHatchStyle

This property enables you to add effects to the background of the graph, such as a grid.

BackImage

Here you can enter a background image for the graph.

CssClass

Here the CssClass can be entered. In the stylesheet you can define the style elements that belong to this class.

EnableMap

Possible values are 'True' or 'False'. If the property is set to 'True', then within the series the property MapAreaAttributes can be used.

Font

Here you can configure the font that is used in the graph.

ForeColor

Here you can configure the color of the font that is used in the graph.

Height

The height of the graph. Because Futurama renders an image it is not possible to set the height in a stylesheet.

JPEGCompression

Possible values are integers between 0 and 100. A value of 0 means no compression is applied. A value of 100 means maximum compression is applied. Using more compression means that the size of the image (in kB) will decrease but also that the quality of the image will diminish. So there is a trade-of between the size and the quality.

Label

The labels that are displayed at the X- and Y-axis of the graph are by default determined by resp. the XValues property for the X-axis, and the height of the series for the Y-axis. Within the properties XAxis and YAxis you can configure yourself how these labels should be displayed.
In the Label property, however, you can further configure the labels at the X-axis, which enables you to e.g. display symbols at the axes. Therefore the following subproperties should be filled:

  • Labels: Here you should enter a table with the string-elements that should be displayed in your graph. You can also insert symbols e.g. to represent a time event at the X-axis. The table should have the same length as the table in de propertie Values, below.
  • UseCustomLabels: Possible values are 'True' or 'False'. If the value is 'True', then the labels above will be displayed in the graph. Note that currently UseCustomLabels only work when the Type of Values (below) is Date.
  • Values: Here you enter the table with the values of the X-axis that locate the places where the corresponding labels out of the Labels property should be displayed. This table can be the same as the one entered in the XValues property, but that is not needed. There are a couple of requirements:
    • The table does have to be of the same Type as the XValues table.
    • The minimum and maximum values have to be within the range of the XValues table.
    • The table has to have the same length as the Label property table.
Example 2 below shows how to apply UseCustomLabels in order to only show the first and last value on the X-axis.

Legend

In the property Legend you can configure whether and how a legend of the graph should be displayed. The property is divided into the following subproperties:

  • Alignment: Indicates where the legend should be displayed with reference to the graph. Possible values are 'Near', 'Center' or 'Far'. The outcome depends on the Docking property.
  • BackColor: The background color of the legend.
  • Docking: Here you enter whether the legend should be placed at the top, right, bottom or left of the graph.
  • FontColor: The color of the font of the legend. The Font itself is set in the properties of the Graphconverter itself.
  • InsideChart: Possible values are 'True' or 'False'. This property indicates whether the legend should be placed inside ('True') or outside ('False') the graph.
  • Reversed: Possible values are 'True' or 'False'. This property indicates whether the legend should be in the same order as the series are entered, or in reverse order.
  • Style: Here you can enter if the legend should be displayed as a row, table or column.
  • TextWrapTreshold: Here you enter the number of characters after which the next word of the series name should be displayed at a new line.
  • Visible: Indicates whether the legend should be displayed or not.

Resolution

Here you can enter the resolution in which the graph will be displayed. The default is 96 dpi, which is sufficient for on a screen. The GraphConverter can be used to display a graph on screen, but it can also generate a graph for a document. For the latter use, the resolution should be increased to create a sharp image. This can be achieved by using an Actionobject to change the Resolution property on the moment of creating the document. Note that a second Action is necessary then to revert the Resolution property of the graph to it's original value. Otherwise the altered Resolution will also be used when displaying the Graph on screen from then on which may lead to improper results.

Width

The width of the graph. Because Futurama renders an image it is not possible to set the width in a stylesheet.

XAxis and YAxis

Here you can configure the X-axis and the Y-axis. Both properties contain the same list of subproperties:

  • Caption: Here you can enter the title of the axis. From Futurama version 18.02 it is also possible to define the texts within a ResourceDocument. See the page Text management and Multi-language.
  • Font: Here you can enter the font for the title and values of the axis.
  • Format: Here you can enter the format of the values of the axis.
  • GridLineColor: Here you can enter the color of the gridline displayed in the graph.
  • IntervalInfo: This property is divided into subproperties itself. You can use these subproperties to configure the places where the values of the axis should be displayed:
    • Interval: The interval of the axis in terms of the type set in IntervalType. 0 means auto.
    • IntervalType: The type of interval e.g. number, years, days, hours etc. It indicates how the value at the Interval property should be processed.
    • IntervalOffset: The offset at which the interval of the axis starts in terms of the type set in IntervalOffsetType. 0 means auto. It indicates the distance between the start of the graph and the first label.
    • IntervalOffsetType: The type of IntervalOffSet e.g. number, years, days, hours etc. It indicates how the input at the IntervalOffset property should be processed.
    • ShowTickMark: Indicates whether tickmarks at the axis should be displayed or not.
  • LineColor: The color of the axis of the graph.
  • Maximum: Here you can enter a maximum for the scale of the Y-axis. If this property is set, the marking of the Y-axis will be consistent. This option can be used when you want to compare different scenarios.
  • Scale: Possible values are 'Normative' and 'Linear'. Default is 'Automatic'.
  • ShowMargin: Possible values are 'True' or 'False'. If the value is 'True', then the graph will have a small indent.

XValues

Here you have to enter a vector-type object ( e.g. a one-column table, range or formula) that represents the division of the X-axis. The x value has to have the same length as the data property the series of the graph. The values in the XValues determine where the corresponding values of the series are divided horizontally, but are not necessarily the ones which are actually being displayed. In the property Label the values can be stated that are to be displayed. XValues does not apply to pie charts.

Sub properties of the series

BackGradientEndColor

See the Graph properties above. This property only applies to ChartTypes that consist of areas.

BackGradientType

See the Graph properties above. This property only applies to ChartTypes that consist of areas.

BackHatchStyle

See the Graph properties above. This property only applies to ChartTypes that consist of areas.

BorderColor

The BorderColor property indicates the color of the line displayed. This property only applies to ChartTypes that consist of lines, or to Piecharts, where it applies to the border around the piece of the pie.

BorderStyle

The BorderStyle property indicates the style of the line displayed. This property only applies to ChartTypes that consist of lines, or to Piecharts, where it applies to the border around the piece of the pie.

BorderWidth

The BorderWidth property indicates the width of the line displayed. This property only applies to ChartTypes that consist of lines, or to Piecharts, where it applies to the border around the piece of the pie.

ChartType

Here you can choose the type of graph for your data series, for example a line chart, or bar graph. It's also possible to combine different chart types in one graph.

Most chart types are constructed as follows: The x-axis of the graph is represented by the X value property of Graphconverter. Each series adds y values using the vector-type data property.

Pie & Dougnut charts are fundamentally different in the sense that each series represents a piece of the pie. For this reason a pie-type series can only scalar type data. Pie/Doughnut series also don’t use X-value property of graphconverter, and can also not be mixed with other types of series.

Comment

See the Graph properties above.

Color

Here you can configure the color of the specific data series. See the Backcolor property for the use of transparent colors.

Data

Here you enter an array with the Y-values that should be displayed as a series. You can enter an array directly by creating a table, but you will often create a reference to a table already created elsewhere in your application. The length of the array has to be equal to the length of the table entered in the XValues property (see below). If the latter is not used the length has to be equal to the length of the table entered in the XValues property of the Graph itself.

DebugLogMode (from version 4.1)

See the Graph properties above.

DisplayName (from Futurama 4.2.1)

By default, the legend will display the names of the series as they are added in the series Editor. If you want a different name to be displayed, you can enter this name in the property DisplayName. This enables you to use special characters. From Futurama version 18.02 it is also possible to define the texts within a ResourceDocument. See the page Text management and Multi-language.

DoughnutInnerRadius

When ChartType is set to Doughnut, this property becomes available. Set a percentage between 0-99, a value of 99 will maximize the hole within the doughnut. Only visible on the first series, and only when ChartType is set to Doughnut.

ID

See the Graph properties above.

IsPublic

See the Graph properties above.

MapAreaAttributes (only for DocType XHTML)

You can attach an attribute to a series of a graph. In that way, you can for instance use JavaScript to make parts of your graph clickable, or create tooltips which give the exact values of the graph. The options are infinite, as each series can have its own attribute.
This property only applies when the property EnableMap is set to 'True'.

Name

See the Graph properties above.

PieceExploded

Explodes this piece of the pie. Multiple pieces can be exploded. Active for every serie you set it on. Only available with pie charts.

PieceDrawingStyle

Different pie drawing styles. Possible values are Default, SoftEdge or Concaver. Available only with pie charts, and only on the first series.

PieLabelStyle

Changes how labels are displayed. Possible values are Inside, Outside or None. It is also possible to use tool tip for pie labels. Available only with pie charts, and only on the first series.

ShadowColor

In the ShadowColor property you can enter a second color which will be displayed as a shadow to the line displayed. Available only with pie charts, and only on the first series.

ShadowOffset

In the ShadowOffset property you can enter the distance in pixels between the series line and its shadow. Available only with pie charts, and only on the first series.

Tooltip

See the Graph properties above.

Visible

Indicates whether a specific series should be displayed or not.

XValues

This property can be used when you want a series to have a different horizontal division as configured in the XValues property of the GraphConverter itself.

Rendering

A Graph object is rendered as an image:

<img src="..."/>

If you've entered a classname in the CssClass property, this will be added as a class attribute. Be aware that this class does not enable you to change the colors of for example a specific series. The graph is rendered as an image as a whole, so changes in the layout using CSS are not possible.

If you have set the property EnableMap to 'True', then a map element will also be rendered, containing the different series areas of the graph and their MapAreAttributes.

Note that the rendering of objects depends on the DocType selected for your Futurama Document. The rendering mentioned above is based on the DocType XHTML_1_0. If your using the old DocType HMTL4_Transitional, please consult the Document page for further information.

Example 1

This example shows the usage of the GraphConverter.

Download

Download the Futurama Document Graph Example.

Description

  1. Open the XML-document which is contained in the zip-file in the Futurama Editor (Version 4.2.1.1 or later).
  2. Here a Graph object can be seen within the WebPage.
  3. The input consists of a range that represents the X axis. Therefore it is referred to in the XValues property.
  4. Then there are two formulas that are input for the GraphConverter. Both are formulas where a calculation is performed on the input range. In this way the series have the same length as the XValues, which is necessary. In the GraphConverter, two series are added, in which is referred to the input series in the Data property.
  5. You can see the result of this Graph in the Results Window of the Futurama Editor. When running this application in your browser, you can also see the graph displayed in your website.

Example 2

This example shows the usage of UseCustomLabels.

Description

In the Graph of Example 1 dates are shown on the X-axis by default. The values on the X-axis can be adjusted however in order to represent, for example, only the first and last date, hereby omitting all the dates in between.

  1. In the Editor select the Range 'XValues', these represent the current values on the X-axis.
  2. The Formula 'Labels' is made based on the Range 'XValues'. Note that it is of type string and is designed to only show the smallest and largest date using the format 'MMM yyyy'. In the Result window the resulting labels can be evaluated.
  3. In order to make sure our Graph shows 'Labels' instead of the dates, expand the property 'Label' of the GraphConverter.
  4. In Label | Labels a Reference is made to the labels, while in Label | Values a Reference is made to the original (base) XValues. Label | UseCustomLabels is currently set to False which implies the XValues are used.
  5. Set Label | UseCustomLabels to True, save the application and open it again in a browser. On the X-axis the custom labels are now shown instead of the dates.

Related Topics

- Futurama Objects: The Atlas chapter that describes all Futurama objects. See the Output-section for a description of the type of objects this object belongs to.

Relevant Tutorials

- Adding Graphs in Futurama: This tutorial shows how you how to add a graph to your website.

 

Updated: 2017-10-11


Previous  |  Next