This article contains the list of attributes of FusionTime. The attributes have been differentiated by FusionTime components.
Attribute |
Type |
Description |
type |
Number |
Sets the chart type. |
width |
Number |
Sets the width of the chart canvas. |
height |
Number |
Sets the height of the chart canvas. |
enableNavigator |
Boolean |
Enables/disables the time navigator. |
animation |
Boolean |
This attribute gives you the option to control animation in your charts. If you do not want to animate any part of the chart, set this as 0. |
animationDuration |
Number |
This attribute sets the animation duration, if animation is set to 1. |
paletteColors |
Array(String) |
Palette attribute allows to select a palette theme that applies to chart background, canvas, font and tool-tips, it does not change the colors of data items (i.e., column, line, pie etc.). Using paletteColors attribute, you can specify your custom list of hex colors for the data items. The list of colors have to be separated by comma e.g., paletteColors: #FF0000 , #0372AB , #FF5904 . |
clickURL |
String |
The entire chart can now act as a hotspot. Use this URL to define the hotspot link for the chart. The link can be specified in FusionCharts Link format. |
hasRTLText |
Boolean |
This attribute, when set to 1, indicates to the chart that the text (rendered on the chart) may contain RTL characters and the textual display has to be managed accordingly. |
showPrintMenuItem |
Boolean |
Whether to show "Print Chart" item in the context menu of the chart? Even if you opt to hide the item in context menu, you can still opt to invoke print() JavaScript method of the chart to print the same. |
showToolTip |
Boolean |
Whether to show tool tip on chart. |
exportEnabled |
Boolean |
Whether the chart will allow exporting to images, PDFs, SVG or XLS. |
exportAction |
String |
In case of server-side exporting, the action specifies whether the exported image will be sent back to client as download, or whether it'll be saved on the server. |
exportHandler |
String |
In case of server side exporting, this refers to the path of the server-side export handler (the ready-to-use scripts that we provide). |
exportFormats |
String |
Lets you configure what output formats to allow for export of chart, in the export context menu, and also customize the label for each menu item. The attribute value should be a pipe (|) delimited separated key-value pair. Example: exportFormats: 'PNG=Export as High Quality Image|JPG|PDF=Export as PDF File' |
exportAtClientSide |
Boolean |
This attribute when set to 1, enables the client-side export feature. |
exportShowMenuItem |
Number |
Whether the menu items related to export (e.g., Save as JPEG etc.) will appear in the context menu of chart. |
exportTargetWindow |
String |
In case of server-side exporting and when using download as action, this lefts you configure whether the return image, PDF, SVG or XLS will open in same window (as an attachment for download), or whether it will open in a new window. |
exportFileName |
String |
Using this attribute you can specify the name (excluding the extension) of the output (export) file. |
baseChartMessageImageHAlign |
String |
This attribute allows to set a custom horizontal alignment for all images displayed as chart messages. Possible values are left , right and middle . |
baseChartMessageImageVAlign |
String |
This attribute allows to set a custom vertical alignment for all images displayed as chart messages. Possible values are top , bottom and middle . |
loadMessage |
String |
This attribute allows to set the message to be displayed when a chart begins to load. Additional properties like the font face, size, and color can be set by suffixing the property name with the corresponding message key, e.g., loadStartMessageFont, loadStartMessageFontSize, loadStartMessageColor. If message keys are not specified, base cosmetics are used. To display an image as the chart message, prefix I- to the image URL. Alignment and properties of the image can be configured using attributes such as loadMessageHAlign, loadMessageVAlign, loadMessageAlpha and so on. |
loadMessageImageHAlign |
String |
If an image is displayed as the chart loadMessage, this attribute allows to set a custom horizontal alignment for the image. Possible values are left, right and middle. |
loadMessageImageVAlign |
String |
If an image is displayed as the chart loadMessage, this attribute allows to set a custom vertical alignment for the image. Possible values are top, bottom and middle. |
typeNotSupportedMessage |
String |
This attribute allows to set the message to be displayed when the specified chart type is not supported. To display an image as the chart message, prefix I- to the image URL. |
typeNotSupportedMessageImageHAlign |
String |
If an image is displayed as the chart typeNotSupportedMessage, this attribute allows to set a custom horizontal alignment for the image. Possible values are left, right and middle. |
typeNotSupportedMessageImageVAlign |
String |
If an image is displayed as the chart typeNotSupportedMessage, this attribute allows to set a custom vertical alignment for the image. Possible values are top, bottom and middle. |
renderErrorMessage |
String |
This attribute allows to set the message to be displayed if an error is encountered while rendering the chart. Additional properties like the font face, size, and color can be set by suffixing the property name with the corresponding message key, e.g., renderErrorMessageFont, renderErrorMessageFontSize, renderErrorMessageColor. If message keys are not specified, base cosmetics are used. To display an image as the chart message, prefix I- to the image URL. Alignment and properties of the image can be configured using attributes such as renderErrorMessageHAlign, renderErrorMessageVAlign, renderErrorMessageAlpha and so on. |
renderErrorMessageImageHAlign |
String |
If an image is displayed as the chart renderErrorMessage, this attribute allows to set a custom horizontal alignment for the image. Possible values are left, right and middle. |
renderErrorMessageImageVAlign |
String |
If an image is displayed as the chart renderErrorMessage, this attribute allows to set a custom vertical alignment for the image. Possible values are top, bottom and middle. |
dataLoadStartMessage |
String |
This attribute allows to set the message to be displayed when chart data begins loading. Additional properties like the font face, size, and color can be set by suffixing the property name with the corresponding message key, e.g., dataLoadStartMessageFont, dataLoadStartMessageFontSize, dataLoadStartMessageColor. If message keys are not specified, base cosmetics are used. Alignment and properties of the image can be configured using attributes such as dataLoadStartMessageHAlign, dataLoadStartMessageVAlign, dataLoadStartMessageAlpha and so on. To display an image as the chart message, prefix I- to the image URL. |
dataLoadStartMessageImageHAlign |
String |
If an image is displayed as the chart dataLoadStartMessage, this attribute allows to set a custom horizontal alignment for the image. Possible values are left, right and middle. |
dataLoadStartMessageImageVAlign |
String |
If an image is displayed as the chart dataLoadStartMessage, this attribute allows to set a custom vertical alignment for the image. Possible values are top, bottom and middle. |
dataEmptyMessage |
String |
This attribute allows to set the message to be displayed if the data loaded for a chart is empty. Additional properties like the font face, size, and color can be set by suffixing the property name with the corresponding message key, e.g., dataEmptyMessageFont, dataEmptyMessageFontSize, dataEmptyMessageColor. If message keys are not specified, base cosmetics are used. To display an image as the chart message, prefix I- to the image URL. Alignment and properties of the image can be configured using attributes such as dataEmptyMessageHAlign, dataEmptyMessageVAlign, dataEmptyMessageAlpha and so on. |
dataEmptyMessageImageHAlign |
String |
If an image is displayed as the chart dataEmptyMessage, this attribute allows to set a custom horizontal alignment for the image. Default Value: baseChartMessageImageHAlign |
dataEmptyMessageImageVAlign |
String |
If an image is displayed as the chart dataEmptyMessage, this attribute allows to set a custom vertical alignment for the image. Default Value: baseChartMessageImageHAlign |
dataLoadErrorMessage |
String |
This attribute allows to set the message to be displayed if an error is encountered while loading chart data. Additional properties like the font face, size, and color can be set by suffixing the property name with the corresponding message key, e.g., dataLoadErrorMessageFont, dataLoadErrorMessageFontSize, dataLoadErrorMessageColor. If message keys are not specified, base cosmetics are used. Alignment and properties of the image can be configured using attributes such as dataLoadErrorMessageHAlign, dataLoadErrorMessageVAlign, dataLoadErrorMessageAlpha and so on. To display an image as the chart message, prefix I- to the image URL. |
dataLoadErrorMessageImageHAlign |
String |
If an image is displayed as the chart dataLoadErrorMessage, this attribute allows to set a custom horizontal alignment for the image. Default Value: baseChartMessageImageHAlign |
dataLoadErrorMessageImageVAlign |
String |
If an image is displayed as the chart dataLoadErrorMessage, this attribute allows to set a custom vertical alignment for the image. Default Value: baseChartMessageImageHAlign |
dataInvalidMessage |
String |
This attribute allows to set the message to be displayed if the data to be loaded for the chart is invalid. Additional properties like the font face, size, and color can be set by suffixing the property name with the corresponding message key, e.g., dataInvalidMessageFont, dataInvalidMessageFontSize, dataInvalidMessageColor. If message keys are not specified, base cosmetics are used. Alignment and properties of the image can be configured using attributes such as dataInvalidMessageHAlign, dataInvalidMessageVAlign, dataInvalidMessageAlpha and so on. To display an image as the chart message, prefix I- to the image URL. |
dataInvalidMessageImageHAlign |
String |
If an image is displayed as the chart dataInvalidMessage, this attribute allows to set a custom horizontal alignment for the image. Default Value: baseChartMessageImageHAlign |
dataInvalidMessageImageVAlign |
String |
If an image is displayed as the chart dataInvalidMessage, this attribute allows to set a custom vertical alignment for the image. Default Value: baseChartMessageImageHAlign |
Date/Time Format |
Description |
%a |
Abbreviated weekday name. |
%A |
Full weekday name. |
%b |
Abbreviated month name. |
%B |
Full month name. |
%c |
Locale’s date and time, such as %x and %X. |
%d |
Zero-padded day of the month as a decimal number [01,31]. |
%e |
Space-padded day of the month as a decimal number [1,31]. %e is equivalent to %_d . |
%f |
Microseconds as a decimal number [000000, 999999]. |
%H |
Hour (24-hour clock) as a decimal number [00,23]. |
%I |
Hour (12-hour clock) as a decimal number [01,12]. |
%j |
Day of a year as a decimal number [001,366]. |
%m |
Month as a decimal number [01,12]. |
%M |
Minute as a decimal number [00,59]. |
%L |
Milliseconds as a decimal number [000, 999]. |
%p |
Can either be AM or PM. |
%Q |
Milliseconds according to UNIX epoch. |
%q |
Quarter of the year starting from January [Q1, Q2, Q3, Q4]. |
%s |
Seconds according to UNIX epoch. |
%S |
Second as a decimal number [00, 61]. |
%u |
Weeday starts from Monday(ISO 8601) as a decimal number [1,7]. |
%U |
Sunday-based week of a year as a decimal number [00,53]. All days in a new year preceding the first Sunday will be considered as week 0. |
%V |
ISO 8601 week of the year as a decimal number [01, 53]. Weeks start on Monday and are numbered from 01 for the first week and 52 or 53 for the last week. Week 1 is the first week where four or more days fall within the new year. Basically, week 01 is the first week of the year that contains a Thursday; or, the week that has 4 January in it. |
%w |
Sunday-based weekday as a decimal number [0,6]. |
%W |
Monday-based week of the year as a decimal number [00,53]. All days in a new year preceding the first Monday will be considered as week 0. |
%x |
Locale’s date. Example: %-m/%-d/%Y. |
%X |
Locale’s time. Example: %-I:%M:%S %p. |
%y |
A year without century as a decimal number [00,99]. |
%Y |
A year with century as a decimal number [2000, 1999]. |
%Z |
Time Zone offset, such as -0700, -07:00, -07, or Z. |
%% |
A literal percent sign (%) |