stung
Members-
Content count
14 -
Joined
-
Last visited
Everything posted by stung
-
Present the data XML to table format, HTML or flash either way is ok
stung posted a topic in General usage
I have following XML data. Is there a javascript function to drag the Categories, dataset and Legend elements from it? I want to use the data to build a html table, or is there a simple flash lib to present the table under the graph? I have tried the SSGrid.swf, but it seems doesn't work for following XML. <chart caption="Top 10 Statements (Highest % of Slightly Agree / Agree / Strongly Agree) - All Staff Levels" rotateValues="1" placeValuesInside="1" palette="1" shownames="1" showYAxisValues="0" showvalues="0" numberPrefix="" numberSuffix="%25" showSum="1" decimals="1" showShadow="1" chartRightMargin="10" chartLeftMargin="30" exportEnabled="1" exportAtClient="1" exportHandler="fcExporter1"> - <categories> <category name="My immediate manager/supervisor listens to and understands my opinion. (4.39)" /> <category name="Fusion Chart Company provides an equal opportunity environment (i.e. a working environment free from sex, race, religion, marital status, pregnancy, family status or disability discrimination) for employees." /> <category name="My immediate manager/supervisor gives clear directions to enable me to do my job well. (3.86)" /> <category name="My immediate manager/supervisor has enough functional / operational knowledge. (4.85)" /> <category name="My immediate manager/supervisor transfers knowledge and skills effectively. (5.01)" /> <category name="My immediate manager/supervisor is fair to all in our department. (4.39)" /> <category name="My immediate manager/supervisor shows respect to his/her subordinates. (4.21)" /> <category name="Top Management shows respect to staff at all levels in the Company. (3.86)" /> <category name="My department management shows respect to staff at all levels in the department. (4.85)" /> <category name="My immediate superior holds regular meetings with me to discuss my work and progress. (5.01)" /> </categories> - <dataset seriesName="Slightly Agree" color="C38EC7" showvalues="1"> <set value="28.6" showValue="1" /> <set value="27.3" showValue="1" /> <set value="28.7" showValue="1" /> <set value="20.9" showValue="1" /> <set value="25.4" showValue="1" /> <set value="13.9" showValue="1" /> <set value="22.1" showValue="1" /> <set value="15.9" showValue="1" /> <set value="12.3" showValue="1" /> <set value="11.8" showValue="1" /> </dataset> - <dataset seriesName="Agree" color="F87431" showvalues="1"> <set value="54.3" showValue="1" /> <set value="47.7" showValue="1" /> <set value="50.4" showValue="1" /> <set value="36.2" showValue="1" /> <set value="26.7" showValue="1" /> <set value="14.3" showValue="1" /> <set value="14.2" showValue="1" /> <set value="16.1" showValue="1" /> <set value="20.2" showValue="1" /> <set value="19.3" showValue="1" /> </dataset> - <dataset seriesName="Strongly Agree" color="347C17" showvalues="1"> <set value="14.3" showValue="1" /> <set value="14.2" showValue="1" /> <set value="2.1" showValue="1" /> <set value="16.1" showValue="1" /> <set value="20.2" showValue="1" /> <set value="41.9" showValue="1" /> <set value="32.9" showValue="1" /> <set value="36.5" showValue="1" /> <set value="35.2" showValue="1" /> <set value="36.4" showValue="1" /> </dataset> - <styles> - <definition> <style name="MyFirstFontStyle" type="font" face="Verdana" size="16" color="000000" bold="1" bgColor="" /> <style name="DataLabelFontStyle" type="font" face="Verdana" size="11" color="000000" bold="1" bgColor="" isHTML="1" /> </definition> - <application> <apply toObject="Caption" styles="MyFirstFontStyle,MyFirstShadow" /> <apply toObject="DataLabels" styles="DataLabelFontStyle" /> </application> </styles> </chart> -
If don't want have a gradient color change in each bar, say the top of the bar is red, the bottom is white, I want the color are evenly distributed within the bar. Is there a setting for changing it?
-
Thanks a lot!! It works!!
-
Is there a way to bold the categories in the stacked 2D Bar Chart? Besides following 3 attributes: font String Valid font face Lets you specify font face for the x-axis data labels. fontSize Number Lets you specify font size for the x-axis data labels. fontColor Color Hex Code Lets you specify font color for the x-axis data labels.
-
Present the data XML to table format, HTML or flash either way is ok
stung replied to Sanjukta's topic in General usage
Sorry, I don't mean the drag the elements in the chart, I want to present the data in table format, and if the Fusionchart lib can present the table format, I will not create the html table by my self. -
Present the data XML to table format, HTML or flash either way is ok
stung replied to Sanjukta's topic in General usage
The question is simple: I have a stacked 2d Bar chart, is it possible to present the data in a table format under it? -
Thanks for the sample, But what settings should I change? Please advise!!
-
Thanks for the advice, I have create a function auto wrap the long category labels, while the alignment is not so friendly. I wonder is there a easy way to set the alignment for the category labels? - <chart caption="Top 10 Statements (Highest % of Slightly Agree / Agree / Strongly Agree) - All Staff Levels" rotateValues="1" placeValuesInside="1" palette="1" shownames="1" showYAxisValues="0" showvalues="0" numberPrefix="" numberSuffix="%25" showSum="1" decimals="1" showShadow="1" chartRightMargin="10" chartLeftMargin="30" exportEnabled="1" exportAtClient="1" exportHandler="fcExporter1"> - <categories> <category name="My immediate manager/supervisor listens to and understands my opinion. (4.39)" /> <category name="Fusion Chart Company provides an equal opportunity environment (i.e. a working environment free from sex, race, religion, marital status, pregnancy, family status or disability discrimination) for employees." /> <category name="My immediate manager/supervisor gives clear directions to enable me to do my job well. (3.86)" /> <category name="My immediate manager/supervisor has enough functional / operational knowledge. (4.85)" /> <category name="My immediate manager/supervisor transfers knowledge and skills effectively. (5.01)" /> <category name="My immediate manager/supervisor is fair to all in our department. (4.39)" /> <category name="My immediate manager/supervisor shows respect to his/her subordinates. (4.21)" /> <category name="Top Management shows respect to staff at all levels in the Company. (3.86)" /> <category name="My department management shows respect to staff at all levels in the department. (4.85)" /> <category name="My immediate superior holds regular meetings with me to discuss my work and progress. (5.01)" /> </categories> - <dataset seriesName="Slightly Agree" color="C38EC7" showvalues="1"> <set value="28.6" showValue="1" /> <set value="27.3" showValue="1" /> <set value="28.7" showValue="1" /> <set value="20.9" showValue="1" /> <set value="25.4" showValue="1" /> <set value="13.9" showValue="1" /> <set value="22.1" showValue="1" /> <set value="15.9" showValue="1" /> <set value="12.3" showValue="1" /> <set value="11.8" showValue="1" /> </dataset> - <dataset seriesName="Agree" color="F87431" showvalues="1"> <set value="54.3" showValue="1" /> <set value="47.7" showValue="1" /> <set value="50.4" showValue="1" /> <set value="36.2" showValue="1" /> <set value="26.7" showValue="1" /> <set value="14.3" showValue="1" /> <set value="14.2" showValue="1" /> <set value="16.1" showValue="1" /> <set value="20.2" showValue="1" /> <set value="19.3" showValue="1" /> </dataset> - <dataset seriesName="Strongly Agree" color="347C17" showvalues="1"> <set value="14.3" showValue="1" /> <set value="14.2" showValue="1" /> <set value="2.1" showValue="1" /> <set value="16.1" showValue="1" /> <set value="20.2" showValue="1" /> <set value="41.9" showValue="1" /> <set value="32.9" showValue="1" /> <set value="36.5" showValue="1" /> <set value="35.2" showValue="1" /> <set value="36.4" showValue="1" /> </dataset> - <styles> - <definition> <style name="MyFirstFontStyle" type="font" face="Verdana" size="16" color="000000" bold="1" bgColor="" /> <style name="DataLabelFontStyle" type="font" face="Verdana" size="11" color="000000" bold="1" bgColor="" isHTML="1" /> </definition> - <application> <apply toObject="Caption" styles="MyFirstFontStyle,MyFirstShadow" /> <apply toObject="DataLabels" styles="DataLabelFontStyle" /> </application> </styles> </chart>
-
Thanks for the suggestion, I want to know what the max length of the labels can I set for the following stacked 2d Bar Chart Call renderChart("../FusionCharts/StackedBar2D.swf", "", strXML, "Chart", 1200, 600, 0, 0)The max width is 1200, so what the max length for the label? The plotting area seems have a min width, and it will block the rest of the my category label string. I see there is a isHTML setting supported in the style, is it possible to pass a wrapped html code as the category label?
-
Thanks dude, the style setting works fine. If I want to create a auto wrap categories, how can I achieve it, as the plot area has blocked the rest of the string if my category labels are too long... I wonder if it can be done using the style part. Any suggestions? I am using V3.1 Trail version
-
Thanks bro, I will try it! One more thing I figure out the category name will be trimmed if it is too long, and seems the V3 version has set a hidden width for the ploting area. If I want to auto wrap the category name in the stacked 2D bar chart, how can I achieve it? I am using the V3.1 Trail version.
-
Can we display trendline label and line in legend?
-
We have encountered an overlap issues in the data values of each stack of a stacked bar 2D chart. The problem was some of the stack size too small, so the data values shown was overlapped over several stacks. Please advise how to solve this problem. Thanks in advance.
-
Overlap data values in a Stacked Bar 2D chart
stung replied to stung's topic in Suggestions & Requests
Thanks for your advise. We have tried it but still cannot solved as some of stack size are really small. Is there a way to show the data values in two lines or the font is vertical shown? Thank you.