dateFormat |
mm/dd/yyyy or dd/mm/yyyy or yyyy/mm/dd |
This attribute helps you specify the input date format for all the dates in your XML. This is a mandatory attribute to specify, and once specified, all the dates in your XML data document should conform to the format specified herein. |
outputDateFormat |
String |
You can also specify how the dates look on your Gantt chart using this attribute. This attribute takes the output date format as string. You can build your own output date format string as explained in the section "Configuring date formats" |
ganttPaneDuration |
Number |
If you want your Gantt pane to scroll through a specified timeline, you can use this attribute to set what timeline the pane will represent. For example, if you want your Gantt pane to show date only for 3 months and then scroll the rest, you can set this attribute as 3. More of this has been explained in the section "Enabling scroll" |
ganttPaneDurationUnit |
String - y,m,d, h, mn or s |
If you've opted to scroll the Gantt pane, this attribute lets you choose the unit of your specified duration. More of this has been explained in the section "Enabling scroll" |
showFullDataTable |
Boolean (0/1) |
Whether to show full names of the process labels and data columns in grid. If you set this as on, the labels will not wrap and always show in full. When required, a scroll bar would automatically appear for the entire grid. |
ganttWidthPercent |
Numbe (10-100) |
You can opt to set the width of the Gantt view pane in percent using this attribute. The rest of the width will be taken by the grid. If the data grid takes lesser space, the chart will automatically adjust the Gantt pane to assume more width. |
forceGanttWidthPercent |
Boolean (0/1) |
If you want the chart to never automatically adjust the Gantt width and stick to the percent width that you've specified, you can set this attribute to 1. |
caption |
String |
Caption for the chart. |
subCaption |
String |
Sub-caption for the chart. |
showTaskStartDate |
Boolean |
For each task bar in the Gantt chart, you can show its respective start date on its left. To do so, set this attribute as 1. |
showTaskEndDate |
Boolean |
For each task bar in the Gantt chart, you can show its end date value too by setting this attribute as 1. |
showTaskLabels |
Boolean (0/1) |
Whether to show task labels for each task bar in the Gantt chart. The task labels show up only if they've been defined for the chart. |
showPercentLabel |
Boolean (0/1) |
If you've used the percentage task feature, you can opt to show the percent complete for each task as part of the task label by setting this attribute as 1. |
showSlackAsFill |
Boolean |
If you've used the percentage task feature, you can opt to show the slack (percent of work not completed) as either a filled bar or empty bar. To draw as empty bars, set this attribute as 0. |
slackFillColor |
Hex Color |
If you've opted to fill the slack bars with color, you can define the color code for the same here. |
animation |
Boolean |
Whether to animate the chart while rendering? If you define this attribute as 0, even your custom defined STYLE animations wouldn't work. |
defaultAnimation |
Boolean |
Whether to use the default animations specified in the chart? This can be specifically useful when you want to disable the default animations and then define your own custom animations. |
clickURL |
String URL |
Click URL for the entire chart. The entire chart can then act as a hotspot. This URL can be provided in FusionCharts URL format. |
annRenderDelay |
Number (time in seconds) |
If you've defined any annotation groups to be rendered over the chart, using this attribute you can control the time duration after which they'll appear on the chart. |
extendCategoryBg |
Boolean |
If you set this attribute as 1, the gantt pane grid will take the same bacgkround and border properties as that of the last category (visual dateline) defined. |
showPrintMenuItem |
Boolean (0/1) |
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. |
showAboutMenuItem |
Boolean (0/1) |
Setting this to 1 shows up a custom context menu in the chart, which can be customized to show your text and can be linked to your URL. For e.g., you can set the context menu of the chart to include "About your company name" and then link to your company home page. By default, the chart shows "About FusionCharts" when right clicked. |
aboutMenuItemLabel |
String |
The menu item label for the custom context menu item. |
aboutMenuItemLink |
String |
Link for the custom context menu item. You can specify the link in FusionCharts link format to be able to open the same in new window, pop-ups, frames or as JavaScript links. |
palette |
Number (1-5) |
Which pre-defined color palette to use? |
paletteThemeColor |
Hex Code |
If you want your own palette derived from a particular hex color, you an specify the same here. All other colors on the chart would automatically derive from that palette. |
bgColor |
Color |
This attribute sets the background color for the chart. You can set any hex color code as the value of this attribute. To specify a gradient as background color, separate the hex color codes of each color in the gradient using comma. Example: FF5904,FFFFFF. Remember to remove # and any spaces in between. See the gradient specification page for more details. |
bgAlpha |
Number (0-100) |
Sets the alpha (transparency) for the background. If you've opted for gradient background, you need to set a list of alpha(s) separated by comma. See the gradient specification page for more details. |
bgRatio |
String of numbers (0-100) |
If you've opted for a gradient background, this attribute lets you set the ratio of each color constituent. See the gradient specification page for more details. |
bgAngle |
Number (0-360) |
Angle of the background color, in case of a gradient. See the gradient specification page for more details. |
showBorder |
Boolean (0/1) |
Whether to show a border around the chart or not? |
borderColor |
Color Code |
Border color of the chart. |
borderThickness |
Number |
Border thickness of the chart. |
borderAlpha |
Number (0-100) |
Border alpha of the chart. |
bgSWF |
Path to SWF |
To place any Flash movie as background of the chart, enter the (path and) name of the background SWF. It should be in the same domain as the chart. |
bgSWFAlpha |
Number (0-100) |
Helps you specify alpha for the loaded background SWF. |
canvasBgColor |
Color Code |
Sets Canvas background color. For Gradient effect, enter colors separated by comma. |
canvasBgAlpha |
Number (0-100) |
Sets alpha for Canvas Background. For gradient, enter alpha list separated by commas. |
canvasBgRatio |
String |
Helps you specify canvas background ratio for gradients. |
canvasBgAngle |
Number (0-360) |
Helps you specify canvas background angle in case of gradient. |
canvasBorderColor |
Color Code |
Lets you specify canvas border color. |
canvasBorderThickness |
Number (pixels) |
Lets you specify canvas border thickness. |
canvasBorderAlpha |
Number (0-100) |
Lets you control transparency of canvas border. |
ganttLineColor |
Color Code |
Lets you specify the color in which the grid border for the gantt pane view would be drawn. |
ganttLineAlpha |
Number (0-100 ) |
Alpha for the grid border of gantt view pane. |
gridBorderColor |
Color Code |
Color for the data grid border. |
gridBorderAlpha |
Number (0-100) |
Alpha for the data grid border. |
gridResizeBarColor |
Color Code |
Color for the drag line that appears when resizing the data grid. |
gridResizeBarThickness |
Number |
Thickness of the drag line that appears when resizing the data grid, |
gridResizeBarAlpha |
Number (0-100) |
Alpha of the drag line that appears when resizing the data grid. |
taskBarRoundRadius |
Number |
If you want your task bars to be rounded (when not using percent complete feature), you can set the radius of the round corner here. That'll result in all task bars having rounded corners. |
taskBarFillMix |
String Gradient Formula |
This attribute lets you specify the gradient fill formula for the task bars. Please refer to the section "Advanced Charting" > Gradient mix for more details on this. |
taskBarFillRatio |
String of ratios separated by comma |
If you're using gradient fill formula for the task bars, this attribute lets you specify the ratio for each color in the gradient. Please refer to the section "Advanced Charting" > Gradient mix for more details on this. |
baseFont |
Font face name |
Global font face for all text on the chart. You can individually customize font properties of each element using their respective attributes or STYLEs. |
baseFontSize |
Number |
Global font size for all text on the chart. |
baseFontColor |
Color Code |
Global font color for all text on the chart. |
showShadow |
Boolean (0/1) |
Whether to show shadow for the task bars? |
logoURL |
String |
You can load an external logo (JPEG/PNG/SWF) on the chart once it has rendered. This attribute lets you specify the URL of the same. Owing to Flash Player security settings, you can only specify logo that are on the sub-domain as the SWF file of the chart. |
logoPosition |
String ( TL, TR, BL, BR, CC ) |
Where to position the logo on the chart:
- TL - Top-left
- TR - Top-right
- BR - Bottom right
- BL - Bottom left
- CC - Center of screen
|
logoAlpha |
Number (0-100) |
Once the logo has loaded on the chart, you can configure its opacity using this atribute. |
logoScale |
Number (0-100) |
You can also change the scale of externally loaded logo at run-time by specifying a value for this parameter. |
logoLink |
String |
If you want to link the logo to an external URL, specify the link in this attribute. The link can be in FusionCharts link format, allowing you to link to new windows, pop-ups, frames etc. |
showToolTip |
Boolean (0/1) |
Whether to show tool tip for the chart? |
toolTipBgColor |
Color Code |
Background color for the tool tip |
toolTipBorderColor |
Color Code |
Border Color for the tool tip. |
dateInToolTip |
Boolean (0/1) |
Whether to show starting and ending date for each task in tool tip? |
showToolTipShadow |
Boolean (0/1) |
Whether to show shadow for tool-tips on the chart. |
showLegend |
Boolean (0/1) |
Whether to show legend for the chart? |
legendCaption |
String |
Text caption for the legend. |
legendBorderColor |
Color Code |
Border Color for the legend. |
legendBorderThickness |
Number |
Border thickness for the legend. |
legendBorderAlpha |
Number (0-100) |
Border alpha for the legend. |
legendBgColor |
Color Code |
Background color for the legend. |
legendBgAlpha |
Number (0-100) |
Background alpha for the legend. |
legendShadow |
Boolean (0/1) |
Whether to show a shadow for legend? |
legendAllowDrag |
Boolean (0/1) |
The legend can be made drag-able by setting this attribute to 1. End viewers of the chart can drag the legend around on the chart. |
legendScrollBgColor |
Color Code |
If you've too many items on the legend, a scroll bar shows up on the same. This attribute lets you configure the background color of the scroll bar. |
legendScrollBarColor |
Color Code |
If you've too many items on the legend, a scroll bar shows up on the same. This attribute lets you configure the bar color of the scroll bar. |
legendScrollBtnColor |
Color Code |
If you've too many items on the legend, a scroll bar shows up on the same. This attribute lets you configure the color of buttons of the scroll bar. |
reverseLegend |
Boolean (0/1) |
You can reverse the ordering of datasets in the legend by setting this attribute to 1. |
scrollColor |
Color Code |
Color for the scroll bar. |
scrollPadding |
Number (Pixels) |
Vertical padding between the scroll bar and chart canvas. |
scrollHeight |
Number (Pixels) |
Height of scroll bar. |
scrollBtnWidth |
Number (Pixels) |
Width of scroll buttons. |
scrollBtnPadding |
Number (Pixels) |
Horizontal padding between the scroll bar and its buttons. |
chartLeftMargin |
Number (Pixels) |
Amount of empty space that you want to put on the left side of your chart. Nothing is rendered in this space. |
chartRightMargin |
Number (Pixels) |
Amount of empty space that you want to put on the right side of your chart. Nothing is rendered in this space. |
chartTopMargin |
Number (Pixels) |
Amount of empty space that you want to put on the top of your chart. Nothing is rendered in this space. |
chartBottomMargin |
Number (Pixels) |
Amount of empty space that you want to put on the bottom of your chart. Nothing is rendered in this space. |
taskDatePadding |
Number (Pixels) |
Horizontal padding between the task bars and start of date labels (if you've opted to show them for the chart). |
captionPadding |
Number (Pixels) |
This attribute lets you control the space (in pixels) between the sub-caption and top of the chart canvas. If the sub-caption is not defined, it controls the space between caption and top of chart canvas. If neither caption, nor sub-caption is defined, this padding does not come into play. |
legendPadding |
Number (Pixels) |
Padding of legend from bottom side of canvas. |