Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
RaspBerry
/
Contents
/
ChartSS
:
XML_Col3DLineDY.html
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<html> <head> <title> FusionCharts FREE - XML Structure </title> <link REL="stylesheet" HREF="Style.css" /> </head> <body topMargin="15" leftMargin="15"> <span class="pageHeader">Multi-Series Column 3D Line Dual Y Chart Specification Sheet</span> <br /> <span class="textbold">SWF: </span> <span class="text">FCF_MSColumn3DLineDY.swf</span> <br /> <br /> <table width="98%" border="0" align="right" cellpadding="2" cellspacing="1"> <tr> <td valign="top" class="text">A 3D Multi-series Column Multi-series Line Dual Y chart looks as under:</td> </tr> <tr> <td valign="top" class="text"><img src="Images/XML_DY3DColLine.gif" width="450" height="203" /></td> </tr> <tr> <td valign="top" class="text"> <p>And, the XML data for this chart can be listed as under:</p></td> </tr> <tr> <td valign="top" class="codeBlock"><graph PYAxisName='Amount' SYAxisName='Quantity' shownames='1' showvalues='0' showLegend='1' rotateNames='0' formatNumberScale='1' decimalPrecision='2' limitsDecimalPrecision='0' divLineDecimalPrecision='1' formatNumber='1' chartTopMargin='15'><br /> <categories><br /> <category name='Ernst...' hoverText='Ernst Handel'/><br /> <category name='QUICK...' hoverText='QUICK-Stop'/><br /> <category name='Save-...' hoverText='Save-a-lot Markets'/><br /> <category name='Hanar...' hoverText='Hanari Carnes'/><br /> <category name='Rattl...' hoverText='Rattlesnake Canyon Grocery'/><br /> <category name='Hungr...' hoverText='Hungry Owl All-Night Grocers'/><br /> <category name='König...' hoverText='Königlich Essen'/><br /> <category name='White...' hoverText='White Clover Markets'/><br /> <category name='Folk ...' hoverText='Folk och fä HB'/><br /> <category name='Suprê...' hoverText='Suprêmes délices'/><br /> </categories><br /> <dataset seriesname='Amount' showValues='0' color='AFD8F8' parentYAxis='P' numberPrefix='$'><br /> <set value='41210.65' /><br /> <set value='37217.32' /><br /> <set value='36310.11' /><br /> <set value='23821.2' /><br /> <set value='21238.27' /><br /> <set value='20402.12' /><br /> <set value='19582.77' /><br /> <set value='15278.9' /><br /> <set value='13644.06' /><br /> <set value='11644.6' /><br /> </dataset><br /> <dataset seriesname='Discount' showValues='0' color='FDC12E' parentYAxis='P' numberPrefix='$'><br /> <set value='1202.27254486084' /><br /> <set value='2736.60256195068' /><br /> <set value='5047.74497413635' /><br /> <set value='337.672510147095' /><br /> <set value='404.888009995222' /><br /> <set value='1844.77046012878' /><br /> <set value='528.849014282227' /><br /> <set value='0' /><br /> <set value='1798.85203838348' /><br /> <set value='174.320002555847' /><br /> </dataset><br /> <dataset seriesname='Quantity' showValues='0' color='FF8000' anchorBorderColor='FF8000' parentYAxis='S' lineThickness='4'><br /> <set value='1756' /><br /> <set value='1096' /><br /> <set value='1817' /><br /> <set value='478' /><br /> <set value='438' /><br /> <set value='395' /><br /> <set value='400' /><br /> <set value='360' /><br /> <set value='560' /><br /> <set value='532' /><br /> </dataset><br /> </graph> </td> </tr> <tr> <td class="text"><p> </p></td> </tr> <tr> <td class="header"><p class="trLightBlueBg"><graph> Attributes </p></td> </tr> <tr> <td class="text"> </td> </tr> <tr> <td class="text">The <span class="codeInline"><graph></span> element for this chart can have the following properties: </td> </tr> <tr> <td height="10"></td> </tr> <tr> <td valign="top" class="text"> <p class="textbold"><strong>Background Properties</strong></p> <ul> <li><span class="codeInline">bgColor="HexColorCode" </span>: This attribute sets the background color for the chart. You can set any hex color code as the value of this attribute. Remember that you DO NOT need to assign a "#" at the beginning of the hex color code. In fact, whenever you need to provide any hex color code in FusionCharts XML data document, you do not have to assign the # at the beginning. </li> <li><span class="codeInline"> bgAlpha="NumericalValue(0-100)" </span>: This attribute helps you set the alpha (transparency) of the graph. This is particularly useful when you need to load the chart in one of your Flash movies or when you want to set a background image (.swf) for the chart. </li> <li><span class="codeInline">bgSWF="Path of SWF File" </span>: This attribute helps you load an external .swf file as a background for the chart.</li> </ul> <p><strong><span class="textbold">Canvas Properties</span></strong></p> <ul> <li><span class="codeInline">canvasBgColor="HexColorCode" </span>: This attribute helps you set the background color of the canvas. The background of the canvas is the one behind the columns.</li> <li>canvasBaseColor<span class="codeInline">="HexColorCode" </span>: This attribute helps you set the color of the canvas base. The canvas abse is the on which the base of the columns are placed..</li> <li><span class="codeInline"> canvasBaseDepth="Numerical Value" </span>: This attribute helps you set the height (3D Depth) of the canvas base.</li> <li><span class="codeInline">canvasBaseDepth="Numerical Value" </span>: This attribute helps you set the height (3D Depth) of the canvas base.</li> <li> <span class="codeInline">canvasBgDepth="Numerical Value" </span>: This attribute helps you set the 3D Depth of the canvas background.</li> <li><span class="codeInline">showCanvasBg="1/0" :</span> This attribute helps us set whether we need to show the canvas background.</li> <li> <span class="codeInline">showCanvasBase="1/0" :</span> This attribute helps us set whether we need to show the canvas base.</li> </ul> <p><strong class="textbold">Chart and Axis Titles</strong><br /> Instead of <span class="codeInline">yAxisName</span> (normal multi-series charts), in the combination charts we've two different attributes specifying the y-axis titles for two different axis (primary and secondary).</p> <ul> <li><span class="codeInline">caption="String" </span>: This attribute determines the caption of the chart that would appear at the top of the chart. </li> <li><span class="codeInline">subCaption="String" :</span> Sub-caption of the chart </li> <li><span class="codeInline">xAxisName= "String"</span> : x-Axis text title (if the chart supports axis) </li> <li><span class="codeInline">PYAxisName= "String"</span> : Primary y-Axis text title.</li> <li><span class="codeInline">SYAxisName= "String"</span> : Secondary y-Axis text title.</li> </ul> <p><span class="textbold"><strong>Chart Numerical Limits</strong></span><strong><br /> </strong>Since the combination chart has two y-axis, you can define the upper and lower limit for both of them. We use the following attributes instead of the normal <span class="codeInline">yAxisMinValue </span>and <span class="codeInline">yAxisMaxValue</span>.</p> <ul> <li><span class="codeInline">PYAxisMaxValue="value"</span>: This attribute determines the upper limit of primary y-axis.</li> <li> <span class="codeInline">PYAxisMinValue="value"</span> : This attribute determines the lower limit of primary y-axis.</li> <li><span class="codeInline">SYAxisMaxValue="value"</span>: This attribute determines the upper limit of secondary y-axis.</li> <li> <span class="codeInline">SYAxisMinValue="value"</span> : This attribute determines the lower limit of secondary y-axis.<br /> If you don't specify any of the above values, it is automatically calculated by FusionCharts based on the data provided by you.</li> </ul> <p class="textbold"><strong>Generic Properties</strong></p> <ul> <li><span class="codeInline">shownames="1/0"</span> : This attribute can have either of the two possible values: 1,0. It sets the configuration whether the x-axis values (for the data sets) will be displayed or not. By default, this attribute assumes the value 1, which means that the x-axis names will be displayed. </li> <li> <span class="codeInline">showValues="1/0"</span> : This attribute can have either of the two possible values: 1,0. It sets the configuration whether the data numerical values will be displayed along with the columns, bars, lines and the pies. By default, this attribute assumes the value 1, which means that the values will be displayed. </li> <li><span class="codeInline">showLimits="1/0"</span> : Option whether to show/hide the chart limit textboxes.</li> <li><span class="codeInline">showSecondaryLimits="1/0"</span> : Option whether to show/hide the chart limit textboxes (secondary y-axis).</li> <li><span class="codeInline">rotateNames="1/0"</span> : Configuration that sets whether the category name text boxes would be rotated or not.</li> <li><span class="codeInline">animation="1/0"</span> : This attribute sets whether the animation is to be played or whether the entire chart would be rendered at one go.</li> <li><span class="codeInline">showLegend="1/0" </span>: This attribute sets whether the legend would be displayed at the bottom of the chart.</li> </ul> <p class="textbold"><strong>Font Properties</strong></p> <ul> <li><span class="codeInline">baseFont="FontName"</span> : This attribute sets the base font family of the chart font which lies on the canvas i.e., all the values and the names in the chart which lie on the canvas will be displayed using the font name provided here.</li> <li><span class="codeInline"> baseFontSize="FontSize"</span> : This attribute sets the base font size of the chart i.e., all the values and the names in the chart which lie on the canvas will be displayed using the font size provided here. </li> <li><span class="codeInline"> baseFontColor="HexColorCode" </span>: This attribute sets the base font color of the chart i.e., all the values and the names in the chart which lie on the canvas will be displayed using the font color provided here. </li> <li><span class="codeInline"> outCnvBaseFont = "FontName"</span> : This attribute sets the base font family of the chart font which lies outside the canvas i.e., all the values and the names in the chart which lie outside the canvas will be displayed using the font name provided here. </li> <li><span class="codeInline"> outCnvBaseFontSze="FontSize"</span> : This attribute sets the base font size of the chart i.e., all the values and the names in the chart which lie outside the canvas will be displayed using the font size provided here. </li> <li> <span class="codeInline">outCnvBaseFontColor="HexColorCode":</span> This attribute sets the base font color of the chart i.e., all the values and the names in the chart which lie outside the canvas will be displayed using the font color provided here.</li> </ul> <p class="textbold"><strong>Number Formatting Options</strong></p> <ul> <li><span class="codeInline">numberPrefix="$" </span>: Using this attribute, you could add prefix to all the numbers visible on the graph. For example, to represent all dollars figure on the chart, you could specify this attribute to ' $' to show like $40000, $50000. </li> <li><span class="codeInline"> numberSuffix="p.a"</span> : Using this attribute, you could add prefix to all the numbers visible on the graph. For example, to represent all figure quantified as per annum on the chart, you could specify this attribute to ' /a' to show like 40000/a, 50000/a. <br /> <strong>To use special characters for <span class="codeInline">numberPrefix</span> or <span class="codeInline">numberSuffix</span>, you'll need to URL Encode them. That is, suppose you wish to have <span class="codeInline">numberSuffix</span> as <span class="codeInline">%</span> (like <span class="codeInline">30%</span>), you'll need to specify it as under:<br /> <span class="codeInline">numberSuffix='%25' </span></strong></li> <li><span class="codeInline"> formatNumber="1/0"</span> : This configuration determines whether the numbers displayed on the chart will be formatted using commas, e.g., 40,000 if formatNumber='1' and 40000 if formatNumber='0 '</li> <li><span class="codeInline">formatNumberScale="1/0" :</span> Configuration whether to add K (thousands) and M (millions) to a number after truncating and rounding it - e.g., if formatNumberScale is set to 1, 10434 would become 1.04K (with decimalPrecision set to 2 places). Same with numbers in millions - a M will added at the end. </li> <li><span class="codeInline">decimalSeparator="."</span> : This option helps you specify the character to be used as the decimal separator in a number.</li> <li> <span class="codeInline">thousandSeparator=","</span> : This option helps you specify the character to be used as the thousands separator in a number.</li> <li> <span class="codeInline">decimalPrecision="2"</span> : Number of decimal places to which all numbers on the chart would be rounded to.</li> <li><span class="codeInline">divLineDecimalPrecision="2":</span> Number of decimal places to which all divisional line (horizontal) values on the chart would be rounded to.</li> <li> <span class="codeInline">limitsDecimalPrecision="2" :</span> Number of decimal places to which upper and lower limit values on the chart would be rounded to.</li> </ul> <p class="textbold"><strong>Line Properties</strong></p> <ul> <li><span class="codeInline">lineColor="Hex Code" </span>: Color of the chart line.</li> <li> <span class="codeInline">lineThickness="Numeric Value" </span>: Thickness of the line (in pixels).</li> <li> <span class="codeInline">lineAlpha="0-100"</span> : Transparency of the line.</li> </ul> <p class="textbold"><strong>Line Shadow Properties</strong></p> <ul> <li><span class="codeInline">showShadow="1/0"</span> : This attribute helps you set whether the line shadow would be shown or not.</li> <li> <span class="codeInline">shadowColor="Hex Code" </span>: If you want to set your own shadow color, you'll need to specify that color for this attribute.</li> <li> <span class="codeInline">shadowThickness="Numeric Value"</span> : This attribute helps you set the thickness of the shadow line (in pixels).</li> <li> <span class="codeInline">shadowAlpha ="0-100" </span>: This attribute sets the transparency of the shadow line.</li> <li> <span class="codeInline">shadowXShift="Numeric Value" </span>: This attribute helps you set the x shift of the shadow line from the chart line. That is, if you want to show the shadow 3 pixel right from the actual line, set this attribute to 3. Similarly, if you want the shadow to appear on the left of the actual line, set it to -3.</li> <li> <span class="codeInline">shadowYShift="Numeric Value" </span>: This attribute helps you set the y shift of the shadow line from the chart line. That is, if you want to show the shadow 3 pixel below the actual line, set this attribute to 3. Similarly, if you want the shadow to appear above the actual line, set it to -3.</li> </ul> <p><strong class="textbold">Anchor properties</strong><br /> Anchors (or the marker points) are the polygons which appear at the joint of two consecutive lines. On a line chart, the anchors are the elements which react to the hover caption and link for that particular data point. You can customize all the facets of the anchors using the properties below:</p> <ul> <li><span class="codeInline">showAnchors="1/0"</span>: Configuration whether the anchors would be shown on the chart or not. If the anchors are not shown, then the hover caption and link functions won't work.</li> <li> <span class="codeInline">anchorSides="Numeric Value greater than 3"</span>: This attribute sets the number of sides the anchor will have. For e.g., an anchor with 3 sides would represent a triangle, with 4 it would be a square and so on.</li> <li><span class="codeInline">anchorRadius="Numeric Value"</span> : This attribute sets the radius (in pixels) of the anchor. Greater the radius, bigger would be the anchor size. </li> <li> <span class="codeInline">anchorBorderColor="Hex Code" </span>: Border Color of the anchor.</li> <li><span class="codeInline"> anchorBorderThickness="Numeric Value"</span> : Thickness of the anchor border (in pixels).</li> <li> <span class="codeInline">anchorBgColor="Hex Code" </span>: Background color of the anchor.</li> <li> <span class="codeInline">anchorBgAlpha="Numeric Value"</span> : Alpha of the anchor background.</li> <li> <span class="codeInline">anchorAlpha="Numeric Value"</span> : This function lets you set the tranparency of the entire anchor (including the border). This attribute is particularly useful, when you do not want the anchors to be visible on the chart, but you want the hover caption and link functionality. In that case, you can set <span class="codeInline">anchorAlpha </span>to 0.</li> </ul> <p><span class="textbold"><strong>Zero Plane</strong></span><strong><br /> <br /> </strong>The zero plane is a 3D plane that signifies the 0 position on the chart. If there are no negative numbers on the chart, you won't see a visible zero plane.</p> <ul> <li><span class="codeInline">zeroPlaneShowBorder="1/0"</span> : Whether the border of a 3D zero plane would be plotted or not.</li> <li><span class="codeInline"> zeroPlaneBorderColor="Hex Code"</span> : If the border is to be plotted, this attribute sets the border color for the plane.</li> <li><span class="codeInline"> zeroPlaneColor="Hex Code" </span>: The intended color for the zero plane.</li> <li> <span class="codeInline">zeroPlaneAlpha="Numerical Value 0-100" </span>: The intended transparency for the zero plane.</li> </ul> <p class="textbold"><strong>Divisional Lines (Horizontal)</strong></p> <p>Divisional Lines are horizontal or vertical lines running through the canvas. Each divisional line signfies a smaller unit of the entire axis thus aiding the users in interpreting the chart.</p> <ul> <li><strong> </strong><span class="codeInline">numdivlines="NumericalValue"</span> : This attribute sets the number of divisional lines to be drawn.</li> <li> <span class="codeInline">divlinecolor="HexColorCode"</span> : The color of grid divisional line.</li> <li> <span class="codeInline">divLineThickness="NumericalValue"</span> : Thickness (in pixels) of the grid divisional line.</li> <li> <span class="codeInline">divLineAlpha="NumericalValue0-100" </span>: Alpha (transparency) of the grid divisional line.</li> <li> <span class="codeInline">showDivLineValue="1/0"</span> : Option to show/hide the textual value of the divisional line.</li> <li><span class="codeInline">showDivLineSecondaryValue="1/0"</span> : Option to show/hide the secondary textual value of the divisional line (i.e., text shown on the right side of the canvas for the secondary axis). </li> </ul> <p class="textbold"><strong>Hover Caption Properties</strong></p> <p>The hover caption is the tool tip which shows up when the user moves his mouse over a particular data item (column, line, pie, bar etc.).</p> <ul> <li><span class="codeInline">showhovercap="1/0"</span> : Option whether to show/hide hover caption box. </li> <li><span class="codeInline"> hoverCapBgColor="HexColorCode"</span> : Background color of the hover caption box.</li> <li><span class="codeInline"> hoverCapBorderColor="HexColorCode"</span> : Border color of the hover caption box.</li> <li> <span class="codeInline">hoverCapSepChar="Char" </span>: The character specified as the value of this attribute separates the name and value displayed in the hover caption box. </li> </ul> <p class="textbold"><strong>Chart Margins</strong></p> <p>Chart Margins refers to the empty space left on the top, bottom, left and right of the chart. That means, FusionCharts would leave that much amount of empty space on the chart, before it starts plotting. </p> <ul> <li><span class="codeInline">chartLeftMargin="Numerical Value (in pixels)" :</span> Space to be left unplotted on the left side of the chart.</li> <li><span class="codeInline"> chartRightMargin="Numerical Value (in pixels)" :</span> Empty space to be left on the right side of the chart</li> <li><span class="codeInline"> chartTopMargin="Numerical Value (in pixels)" :</span> Empty space to be left on the top of the chart.</li> <li> <span class="codeInline">chartBottomMargin="Numerical Value (in pixels)" :</span> Empty space to be left at the bottom of the chart.</li> </ul></td> </tr> <tr> <td class="text"> </td> </tr> <tr> <td class="header"><p class="trLightBlueBg"><categories> element</p></td> </tr> <tr> <td class="text"><p>The <categories> element can have the following attributes:</p> <ul> <li><span class="codeInline">font="font face" : </span>Font face of the category names.</li> <li><span class="codeInline"> fontSize="Numeric value"</span> : Font size of the category names.</li> <li> <span class="codeInline">fontColor="Hex Color"</span> : Font color of the category names.</li> </ul> <p> </p></td> </tr> <tr> <td class="header"><p class="trLightBlueBg"><category> element</p></td> </tr> <tr> <td class="text">Each <span class="codeInline"><category></span> element represents a x-axis data label. You can specify the following attributes for <span class="codeInline"><category></span> element:</td> </tr> <tr> <td class="text"><ul> <li><span class="codeInline">name="String" </span>: This attribute determines the category name which would be displayed on the x-axis as the data label. In our example, we've specified the category names as names of six months (in abbreviated format). </li> <li><span class="codeInline"> hoverText="String" </span>: Sometimes, you might just want to show the abbreviated names on the x-axis (to avoid cluttering or to make the chart look more legible). However, you still have the option of showing the full name as tool tip using this attribute. Like, in our example, we're showing the abbreviated form "Jan" on our x-axis, but the full word "January" is shown as the tool tip.</li> <li> <span class="codeInline">showName="1/0"</span> : This attribute can either the value of 0 or 1. A value of 1 indicates that this data label/category name will be displayed on the chart whereas 0 indicates it won't be displayed. This attribute is particular useful when you want to show/hide names of alternate data items or say every x (th) data item.</li> </ul></td> </tr> <tr> <td class="header"><p class="trLightBlueBg"><dataset> element</p></td> </tr> <tr> <td valign="top" class="text"> <p>The following attributes can be defined for the <span class="codeInline"><dataset></span> element.</p> <ul> <li><span class="codeInline">parentYAxis="P/S"</span> : Each <span class="codeInline"><dataset></span> element has an attribute <span class="codeInline">parentYAxis</span> in the combination chart. This attribute can take a value of P or S, whereas P denoting primary axis and S denoting secondary axis. Like, in our above example, we have the amount dataset set as primary axis:<br /> <span class="codeInline"> <dataset seriesname='Amount' showValues='0' color='AFD8F8' <strong>parentYAxis='P'</strong> numberPrefix='$'></span><br /> and the Quantity dataset set as secondary axis:<br /> <span class="codeInline"> <dataset seriesname='Quantity' showValues='0' color='FF8000' anchorBorderColor='FF8000'<strong> parentYAxis='S' </strong>lineThickness='4'></span><br /> <strong>You can have more than one primary or secondary datasets but atleast one of both is required.</strong></li> <li><span class="codeInline">seriesName="String" </span>: This attribute denotes the name of the dataset series. That is, if we're plotting a monthly sales analysis for the years 2004 and 2003, the <span class="codeInline">seriesName</span> for the first dataset would be 2004 and that of the second would be 2003. This is the value that would be shown in the legend. </li> <li><span class="codeInline">color="Hex Color"</span> : This attribute sets the color using which that particular set of data would be drawn. </li> <li><span class="codeInline">showValues</span>="1/0": This attribute sets the configuration whether the values (for this particular data set) will be shown alongside the data sets. You can set this value for individual datasets to highlight the most prominent data. </li> <li> <span class="codeInline">alpha="0-100"</span>: This attribute sets the alpha (transparency) of the entire dataset. <br /> You can also later specify <span class="codeInline">alpha</span> at the <set> level to over ride this value. For example,<br /> <span class="codeInline"><dataset seriesName='Sales – 2001' color='FFF123' alpha='80' ..><br /> <set value='1'><br /> <set value='2'><br /> <strong><set value='3' alpha='90'></strong><br /> </dataset></span><br /> In the above data, the <span class="codeInline"><set></span> elements with the value 1 and 2 will have an <span class="codeInline">alpha</span> of 80 on the graph, whereas the one containing 3 as its value will have <span class="codeInline">alpha</span> as 90. </li> </ul> <p class="textbold"><strong>Dataset specific number prefix and suffix</strong></p> <ul> <li><span class="codeInline">numberPrefix="$" </span>: Using this attribute, you could add prefix to all the numbers for this dataset. </li> <li><span class="codeInline"> numberSuffix="p.a"</span> : Using this attribute, you could add prefix to all the numbers for this dataset.</li> </ul> <p><span class="textbold"><strong>Dataset specific anchor properties</strong></span><strong><br /> </strong>The anchor properties below would be applicable for anchor of this particular dataset only.</p> <ul> <li><span class="codeInline">showAnchors="1/0"</span>: Configuration whether the anchors would be shown for this dataset or not. If the anchors are not shown, then the hover caption and link functions won't work.</li> <li> <span class="codeInline">anchorSides="Numeric Value greater than 3"</span>: This attribute sets the number of sides the anchors (of this dataset) will have. For e.g., an anchor with 3 sides would represent a triangle, with 4 it would be a square and so on.</li> <li><span class="codeInline">anchorRadius="Numeric Value"</span> : This attribute sets the radius (in pixels) of the anchor. Greater the radius, bigger would be the anchor size. </li> <li> <span class="codeInline">anchorBorderColor="Hex Code" </span>: Border Color of the anchor.</li> <li><span class="codeInline"> anchorBorderThickness="Numeric Value"</span> : Thickness of the anchor border (in pixels).</li> <li> <span class="codeInline">anchorBgColor="Hex Code" </span>: Background color of the anchor.</li> <li> <span class="codeInline">anchorBgAlpha="Numeric Value"</span> : Alpha of the anchor background.</li> <li> <span class="codeInline">anchorAlpha="Numeric Value"</span> : This function lets you set the tranparency of the entire anchor (including the border). This attribute is particularly useful, when you do not want the anchors to be visible on the chart, but you want the hover caption and link functionality. In that case, you can set <span class="codeInline">anchorAlpha </span>to 0.</li> </ul> <p class="textbold"><strong>Dataset specific line thickness</strong></p> <ul> <li> <span class="codeInline">lineThickness="Numeric Value" </span>: Thickness of the line (in pixels).<br /> </li> </ul></td> </tr> <tr> <td class="trLightBlueBg"><p class="header"><set> element</p></td> </tr> <tr> <td class="text"><p>We now move on to the <span class="codeInline"><set></span> element which is a child element of the <span class="codeInline"><dataset></span> element and determines a set of data which would appear on the graph. </p> <p>A <span class="codeInline"><set></span> element looks as under: <br /> <span class="codeInline"><set value="54" color="3300FF" link="ShowDetails.asp%3FMonth=Jan" alpha="80" /></span> </p> <p>Now let's study the the possible attributes of the <span class="codeInline"><set></span> element: </p></td> </tr> <tr> <td valign="top" class="text"> <ul> <li><span class="codeInline">value="NumericalValue"</span><br /> Example: <span class="codeInline"><set name='Jan' value='12345' ...></span><br /> This attribute determines the numerical value for the set of data according to which the chart would be built for the concerned set of data. <br /> </li> <li><span class="codeInline">link="URL"</span><br /> Example: <span class="codeInline"><set … link='ShowDetails.asp%3FMonth=Jan' ...></span><br /> This attribute defines the hotspots in your graph. The hotspots are links over the data sets. Please note that you'll need to URL Encode all the special characters (like ? and &) present in the link.All the server side scripting languages provide a generic function to URL Encode any string - like in ASP and ASP.NET, we've Server.URLEncode(strURL) and so on. <br /> <br /> To open a link in a new window, just put <span class="codeInline">n-</span> in front of the link e.g., <span class="codeInline">link="n-ShowDetails.asp%3FMonth=Jan"</span>. <br /> </li> <li><span class="codeInline">alpha="Numerical Value 0-100"</span><br /> Example: <span class="codeInline"><set ... alpha='100' ...></span><br /> This attribute determines the transparency of a data set. The range for this attribute is 0 to 100. 0 means complete transparency (the data set won’t be shown on the graph) and 100 means opaque. This option is useful when you want to highlight a particular set of data. This value here overrides the value specified at <span class="codeInline">dataset</span> level.</li> </ul> <p> At the end of the <set> element, you would find a "/" which signals that it has no more child element <br /> </p></td> </tr> <tr> <td height="5"></td> </tr> <tr> <td class="text">At the end of the data file, you would find a <span class="codeInline"></graph></span> element, which signals the end of the data file for the graph.</td> </tr> <tr> <td class="text"> </td> </tr> </table> </body> </html>