All Activity

This stream auto-updates     

  1. Today
  2. Yesterday
  3. Last week
  4. Fusioncharts using angularjs

    You can refer our angularjs plugin to render charts in Angular1x framework - https://www.fusioncharts.com/dev/getting-started/angular/angularjs/your-first-chart-using-angularjs Fetching the data from the database needs to be handled accordingly, since FusionCharts helps to visualize the data from the database, here are few third party blog links for reference - https://www.webcodegeeks.com/javascript/angular-js/angularjs-sql-example/
  5. Fine tuning chart attributes

    Ok, I think I have it now. Thank you.
  6. Fine tuning chart attributes

    Hi, Yes, the attributes "lineColor" and "lineThickness" must be a part of the XML dataSource within the <chart> tag. Check the below sample fiddle for the XML structure with the mentioned attributes defined. Sample fiddle : https://jsfiddle.net/dbjsmrc7/4/ Thanks, Akash.
  7. Fine tuning chart attributes

    <chart caption='MyStuff (Updated: Oct 14 07:03 AM)' subcaption='From: Oct, 2017 To: 10/14/19 Net $ by Month - Trend ' xAxisName='Months' yAxisName='Net $' bgColor='9AB5E4' alternateHGridColor='E3EBF5' showValues='0' labelStep='2' lineColor='FF0000'> <set label='0' value='0.00' /> <set label='1' value='2057.50' /> <set label='2' value='1975.00' /> <set label='3' value='12925.00' /> <set label='4' value='16460.00' /> <set label='5' value='18982.50' /> <set label='6' value='28310.00' /> <set label='7' value='32490.00' /> <set label='8' value='31487.50' /> <set label='9' value='39670.00' /> <set label='10' value='42145.00' /> <set label='11' value='43117.50' /> <set label='12' value='36377.50' /> <set label='13' value='45702.50' /> <set label='14' value='46740.00' /> <set label='15' value='57550.00' /> <set label='16' value='60987.50' /> <set label='17' value='69365.00' /> <set label='18' value='70443.61' /> <set label='19' value='68802.71' /> <set label='20' value='69307.71' /> <set label='21' value='74572.71' /> <set label='22' value='79697.71' /> <set label='23' value='76312.71' /> <set label='24' value='77730.21' /> </chart> My chart data is coming from a file (xml) that looks as above. Do I need to change the structure of this file? I am migrating from flash version.
  8. Fine tuning chart attributes

    Hi, The attributes "lineThickness" or "lineColor" are not FusionCharts constructor parameters like "width" or "height". These are configuration attributes of the chart dataSource, so you need to define them within the "chart" object of the dataSource. Please refer to the sample fiddle for reference : http://jsfiddle.net/2v5t1mrd/3/ Thanks, Akash.
  9. Fine tuning chart attributes

    <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" id="viewport" content="target-densitydpi=high-dpi,initial-scale=1.0,user-scalable=no" /> <title>'<?php echo $_GET["sysname"] ?>'</title> <link href="styles.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script> <script type="text/javascript" src="FusionCharts/js/fusioncharts.js"></script> <script type="text/javascript" src="FusionCharts/js/fusioncharts.charts.js"></script> <style type="text/css"></style> <?php $DataFile = "clientFTP/".$_GET["sysname"].$_GET["period"].$_GET["DFS"].".xml"; $CType = $_GET["ChtType"]; ?> <script type="text/javascript"> FusionCharts.ready(function(){ var fusioncharts = new FusionCharts({ type: '<?php echo $CType ?>', renderAt: 'chartContainer', width: '500', height: '300', lineThickness: '1', lineColor: 'FFFFFF', dataFormat: 'xmlurl', dataSource: '<?php echo $DataFile ?>', }); fusioncharts.render(); }); </script> </head> <body class="twoColFixLtHdr"> <div id="container"> <div id="header" class="fltlft"><img src="images/logo.jpg" alt="SIF Trading Systems Logo" class="fltlft" /> <img src="images/software_box.jpg" alt="Software Box" class="fltrt" /> </div> <br class="clearfloat" /> <div id="chartContainer" style="margin-left: 200px"></div> <div style="margin-left: 200px"><br> <p>This chart is automatically updated directly from a TradeStation chart.</p><!--<p>This chart does not include the current month.</p>--> <p style="margin-right: 125px">PAST PERFORMANCE WHETHER REAL OR HYPOTHETICAL IS NO GUARANTEE OF FUTURE RESULTS.</p></div> <div id="footer"> <p><a href="<?php echo $_GET["sysname"] ?>JS.html"><?php echo $_GET["sysname"] ?></a></p> </div> </div> </body> </html> Changing the lineThickness value in the above code does nothing. I am able to change the width, for instance.
  10. Fine tuning chart attributes

    Hi, You can customize the chart visuals by using the configuration attributes supported for setting the chart cosmetics. For example, you can set the attribute "lineThickness" to define the thickness of the line in a line chart. To set the base font for any text element on the chart set "baseFontSize" or "baseFont". Also specific font attributes are also supported for individual elements like "labelFontSize" to set font size for x-axis labels, or "valueFontSize" for data plot values. Please refer to the attributes list for each chart types available : https://www.fusioncharts.com/dev/chart-attributes/line Also check the documentation for further reference : https://www.fusioncharts.com/dev/chart-guide/chart-configurations/data-plot For font configuration : https://www.fusioncharts.com/dev/chart-guide/chart-configurations/fonts Thanks, Akash.
  11. Converting from Flash to JS

    Hi, You can refer to the documentation guide below to upgrade from Flash version to the current JS version of FusionCharts : https://www.fusioncharts.com/dev/upgrading/from-flash-to-javascript Thanks, Akash.
  12. I have been able to accomplish most of what I wanted as you can see here: http://www.siftradingsystems.com/MyStuffJS.html Now I'm just looking to fine tune the appearance such as setting the line thickness and color for a line chart and setting font size and type.
  13. I have been using fusion charts for years on my website. I want to convert from flash to javascript. I've down loaded the trial version. How do I implement the js charts? MyStuff
  14. Earlier
  15. How to Not show colors of series which value is 0

    Hi Navdeep , Thank you , this works and is exactly what i was looking for ! Regards, Martin
  16. Broken area after a navigation with Angular

    Hi, FusionTime chart Smartly shows aggregate data on the time axis. In your sample may be June 06,2019 will be having multiple data for that particular day so aggregation calculation was done and shown accordingly. However, you can change the aggregation function from average to any of the following: Sum Average Min Max First Last Please refer this below doc link to understand more about Data Aggregation in FusionTime charts. https://www.fusioncharts.com/dev/fusiontime/getting-started/change-default-aggregation Thanks Navdeep Singh Othee
  17. How to Not show colors of series which value is 0

    Hi, You can set alpha to 0 at data level for the plots where the value is zero and you dont want it to be shown on chart. Refer this sample, http://jsfiddle.net/0e9uza4h/ And if you want to hide the complete series you can set alpha:0 at dataset level for that particular series. Share your observations,let us know if that suits your requirement. Thanks, Navdeep Singh Othee
  18. maxBarHeight isn't working anymore

    Hi Akash, Good thank you for noticing me !
  19. maxBarHeight isn't working anymore

    Hi Sebastien, The attribute "maxBarHeight" is working fine. Please check the modified sample : https://codepen.io/Akash008/pen/mddeded Please note : You have used "plotSpacePercent" as well in your dataSource which was restricting maxBarHeight to apply its attribute value. Thanks, Akash.
  20. stackedcolumn2d with Drilldown functionality

    Hi Sneha, Yes, it is possible to execute JS function using the "link" attribute with a "JavaScript" prefix within the attribute. Please check the below documentation link for reference : https://www.fusioncharts.com/dev/chart-guide/chart-configurations/drill-down#the-javascript-prefix Also find a sample fiddle : http://jsfiddle.net/fusioncharts/z7vnp56d/ Thanks, Akash.
  21. I have an app that works great under 3.13.5 but fails to compile under 3.14.0 and 3.14.1. I use webpack to compile and get several errors of this form: ERROR in ./node_modules/@fusioncharts/widgets/src/chart/_internal/realtime.js Module not found: Error: Can't resolve '../../../../fc-utils/src/array/safe-max' Looking in the node_modules directory by hand I notice there is no fc-utils directory but there is a utils directory (which does contain src/array/safe-max.js) and I suspect this is just a naming issue. (And perhaps compiling like this is unusual so nobody else has found it.) It's tough to do a full reproduction but relevant parts of various files: package.json: "fusioncharts": "^3.14.1", application.js: import 'fusioncharts/viz/doughnut2d'; import 'fusioncharts/viz/stackedbar2d'; import 'fusioncharts/themes/es/fusioncharts.theme.fusion'; custom.js: import FusionCharts from 'fusioncharts/core'; import Doughnut2D from 'fusioncharts/viz/doughnut2d'; import Stackedbar2D from 'fusioncharts/viz/stackedbar2d'; import AngularGauge from 'fusioncharts/viz/angulargauge'; import HLinearGauge from 'fusioncharts/viz/hlineargauge'; import FusionTheme from 'fusioncharts/themes/es/fusioncharts.theme.fusion'; yarn.lock: [email protected]: version "3.14.1" resolved "https://registry.yarnpkg.com/fusioncharts/-/fusioncharts-3.14.1.tgz#328f3bc9b369d9ae553b19926484fe8e22ab3b19" integrity sha512-qsQdYFGqtozSpaTdElJmtBg+bmtlaIGj2ULniC4PIwD/kON+sgthCqKPguPLNOBdRM9mITxF2ihR4EvOdoj27Q== dependencies: "@babel/runtime" "7.4.5" "@fusioncharts/charts" "^3.14.1" "@fusioncharts/constructor" "^1.0.1" "@fusioncharts/core" "^1.0.1" "@fusioncharts/datatable" "^1.0.1" "@fusioncharts/features" "^1.0.1" "@fusioncharts/fusiontime" "^1.3.0" "@fusioncharts/maps" "^3.14.1" "@fusioncharts/powercharts" "^3.14.1" "@fusioncharts/utils" "^1.0.1" "@fusioncharts/widgets" "^3.14.1" mutationobserver-shim "^0.3.3" promise-polyfill "^8.1.3"
  22. maxBarHeight isn't working anymore

    Hi, I think there's a bug : maxBarHeight isn't working anymore. Please find the issue on this code pen link.
  23. Hello, Can I use the drill down functionality in a stackedcolumn2d chart? I noticed that we can use drill down in column2d chart. I want to use JavaScript link so when clicked on the stacked bar, I can execute js function. Thank You
  24. remove export to xlsx

    ok thank you
  25. Incomplete data value custom font style 3.14.1

    Hi Sebastien, As of now the valueFontBold, valueFontSize and valueFontAlpha are supported at chart-level and not at data-level dataSource. The attributes for the value font cosmetics introduced in this version are supported at data-level. For your mentioned attributes we need to check internally for this. Thanks, Akash.
  26. Customize y-axis with accuracy

    Hi Sebastien, As of now the y-axis divisional lines interval could be configured using "adjustDiv", "yAxisMinValue", "yAxisMaxValue" and "numDivLines" accordingly to configure the intervals. For example : 0 to 100, numDivLines - 9, so the interval would be 0, 10, 20, 30, ...., 80, 90, 100. However, please confirm if your requirement is to set a value like 22, and based on which the y-axis interval would appear like 0, 22, 44, 66, .... and so on automatically. Thanks, Akash.
  27. Hi, I have a new request. Currently, we cannot do whatever we want about the y-axis. I mean we should be able to specify what values we want to show exactly. Whatever are the values in the dataset or whatever is the height of the graph, I want to be able to specify exactly y axis labels needed : in example if I want to have 25% 50% 75% or 10% 20% etc or 22% 44% 88% or 7% 14% 21% etc... etc... How could I do this ? I don't think it's possible with FS at this time. A new functionality related to this could be very nice to be developed I think. What do you think ?
  28. Hi all, I just saw that the 3.14.1 is out, and I just want to say that you did a very nice work just for that new thing : "Some attributes of data plot cosmetics like valueFontColor, valueBgColor and valueBorderColor will now apply at data series and individual data point level." However ... Why did you stopped at these styles ? "valueFontBold" and "valueFontSize" should have been added too at least, both are really useful I think (might be "valueFontAlpha" too ? But not sure in which case to use it yet) ! What do you think of it ?
  1. Load more activity