Anonymous Login
2019-07-21 10:02 PDT

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001152Pending RequestsCore Infrastructurepublic2014-08-16 18:17
Reportervirajdoshi 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
StatusnewResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0001152: Charts Generation
DescriptionHi,
It would be really great to have ability to generate charts from data.
There is a free java script based component to generate charts. Looks fairly simple.
http://www.jscharts.com/
Additional InformationI am actually a .net programmer turned project manager so i do not know much about php. i have a good java script knowledge though. I have implemented web2p and mantis in house and i really love it. Great work...
Tagsreport
Attached Files
  • txt file icon index.txt (1,535 bytes) 1969-12-31 16:00 -
    <html>
    <head>
    
    <title>JSChart</title>
    
    <script type="text/javascript" src="../../../sources/jscharts.js"></script>
    
    </head>
    <body>
    
    <div id="graph">Loading graph...</div>
    
    <script type="text/javascript">
    	var myData = new Array(['Asia', 437], ['Europe', 322], ['North America', 233], ['Latin America', 110], ['Africa', 34], ['Middle East', 20], ['Aus/Oceania', 19]);
    	var colors = ['#2D6B96', '#327AAD', '#3E90C9', '#55A7E3', '#60B6F0', '#81C4F0', '#9CCEF0'];
    	var myChart = new JSChart('graph', 'bar');
    	myChart.setDataArray(myData);
    	myChart.colorizeBars(colors);
    	myChart.setTitle('Internet usage by World Region (millions of users)');
    	myChart.setTitleColor('#8E8E8E');
    	myChart.setAxisNameX('');
    	myChart.setAxisNameY('');
    	myChart.setAxisColor('#C4C4C4');
    	myChart.setAxisNameFontSize(16);
    	myChart.setAxisNameColor('#999');
    	myChart.setAxisValuesColor('#777');
    	myChart.setAxisColor('#B5B5B5');
    	myChart.setAxisWidth(1);
    	myChart.setBarValuesColor('#2F6D99');
    	myChart.setBarOpacity(0.5);
    	myChart.setAxisPaddingTop(60);
    	myChart.setAxisPaddingBottom(40);
    	myChart.setAxisPaddingLeft(45);
    	myChart.setTitleFontSize(11);
    	myChart.setBarBorderWidth(0);
    	myChart.setBarSpacingRatio(50);
    	myChart.setBarOpacity(0.9);
    	myChart.setFlagRadius(6);
    	myChart.setTooltip(['North America', 'U.S.A and Canada']);
    	myChart.setTooltipPosition('nw');
    	myChart.setTooltipOffset(3);
    	myChart.setSize(616, 321);
    	myChart.setBackgroundImage('chart_bg.jpg');
    	myChart.draw();
    </script>
    
    </body>
    </html>
    txt file icon index.txt (1,535 bytes) 1969-12-31 16:00 +

-Relationships
+Relationships

-Notes

~0002558

virajdoshi (reporter)

Hi,
I have implemented web2project in my company.
I love the software overall. it provides some really nice features.

I need to have a small addon developed if some php guy can help me here. (i am .net - sorry).

I have downloaded a free component called jscharts. This is a javascript based chart engine. It is capable to generated good quality charts.

The syntax to generate a graph is pretty simple. i had written a lot of javascript in the past so that code i can understand easily.

The help i need is i need to integrate some js code (for charts) in web2project. I do not know php and i believe web2project has its own style of modifying the code.

Here is the attached file for chart generation.

I would like to have a link in the reports module which can generate a graph for all projects and sub projects. It will really be a great help if somebody can help me out in this.

Thanks a lot in advance.

~0002602

stephan (reporter)

There will be a licence issue with jschart as it is only free for non-commercial use. So if you want it to be run in your company, you have to buy a licence.

~0002604

virajdoshi (reporter)

Thanks for the reply.
I think there are lot of open source php based chart generation frameworks that can be used to accomplish this requirement.
+Notes

-Issue History
Date Modified Username Field Change
2012-06-20 00:44 virajdoshi New Issue
2012-06-20 00:44 virajdoshi Tag Attached: report
2012-06-20 02:42 virajdoshi File Added: index.txt
2012-06-20 02:43 virajdoshi Note Added: 0002558
2012-07-14 19:51 caseydk Project v3.0 Release => Pending Requests
2012-07-23 06:46 stephan Note Added: 0002602
2012-07-24 22:16 virajdoshi Note Added: 0002604
2014-08-16 18:17 caseydk Category General => Core Infrastructure
+Issue History