summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/lib/dhtmlxGraph/samples/09_integration
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2012-05-07 10:19:08 +0200
committerFabien Pinckaers <fp@tinyerp.com>2012-05-07 10:19:08 +0200
commitdd6de9b2006cfe5bc7be28d70addc321691d2746 (patch)
tree677a360fdc3b660add0e9589b74c10da3b562766 /addons/web_graph/static/lib/dhtmlxGraph/samples/09_integration
parent16a2d354fc333d8fd3c0c638c5c2d74ffee8c580 (diff)
[IMP] replacing by flotr2, initial commit
bzr revid: fp@tinyerp.com-20120507081908-j0sfm5f84f0t32yg
Diffstat (limited to 'addons/web_graph/static/lib/dhtmlxGraph/samples/09_integration')
-rw-r--r--addons/web_graph/static/lib/dhtmlxGraph/samples/09_integration/01_dhtmlxgrid.html70
-rw-r--r--addons/web_graph/static/lib/dhtmlxGraph/samples/09_integration/02_dhtmlxgrid_group.html79
-rw-r--r--addons/web_graph/static/lib/dhtmlxGraph/samples/09_integration/03_windows.html77
3 files changed, 0 insertions, 226 deletions
diff --git a/addons/web_graph/static/lib/dhtmlxGraph/samples/09_integration/01_dhtmlxgrid.html b/addons/web_graph/static/lib/dhtmlxGraph/samples/09_integration/01_dhtmlxgrid.html
deleted file mode 100644
index 698da15d9fd..00000000000
--- a/addons/web_graph/static/lib/dhtmlxGraph/samples/09_integration/01_dhtmlxgrid.html
+++ /dev/null
@@ -1,70 +0,0 @@
-<!--conf
-<sample>
- <product version="2.6" edition="std"/>
- <modifications>
- <modified date="100609"/>
- </modifications>
- </sample>
- -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-
-<html>
-<head>
- <title>Integration with grid</title>
- <link rel='STYLESHEET' type='text/css' href='../../../dhtmlxGrid/codebase/dhtmlxgrid.css'>
- <link rel='STYLESHEET' type='text/css' href='../../../dhtmlxGrid/codebase/skins/dhtmlxgrid_dhx_skyblue.css'>
- <script src='../../../dhtmlxGrid/codebase/dhtmlxcommon.js'></script>
- <script src='../../../dhtmlxGrid/codebase/dhtmlxgrid.js'></script>
- <script src='../../../dhtmlxGrid/codebase/dhtmlxgridcell.js'></script>
-
- <script src="../../codebase/dhtmlxchart.js" type="text/javascript"></script>
- <link rel="STYLESHEET" type="text/css" href="../../codebase/dhtmlxchart.css">
- <script>
- var barChart;
- window.onload = function(){
- barChart = new dhtmlXChart({
- view:"bar",
- color:"#66ccff",
- gradient:"3d",
- container:"chart_container",
- value:"#data0#",
- label:"#data0#",
- radius:3,
- tooltip:{
- template:"#data0#"
- },
- width:30,
- origin:0,
- yAxis:{},
- xAxis:{
- template:function(){return ""}
- },
- border:false
- });
-
- function refresh_chart(){
- barChart.clearAll();
- barChart.parse(mygrid,"dhtmlxgrid");
- };
-
- mygrid = new dhtmlXGridObject('gridbox');
- mygrid.setImagePath('../../../dhtmlxGrid/codebase/imgs/');
- mygrid.setSkin("dhx_skyblue")
- mygrid.loadXML("../../../dhtmlxGrid/samples/common/gridH.xml",refresh_chart);
- mygrid.attachEvent("onEditCell",function(stage){
- if (stage == 2)
- refresh_chart();
- return true;
- });
- }
-</script>
-</head>
-
-<body>
-
- <div id="gridbox" style="width:600px; height:270px; background-color:white;"></div>
- <hr>
- <div id="chart_container" style="width:500px;height:300px;"></div>
-
-</body>
-</html>
diff --git a/addons/web_graph/static/lib/dhtmlxGraph/samples/09_integration/02_dhtmlxgrid_group.html b/addons/web_graph/static/lib/dhtmlxGraph/samples/09_integration/02_dhtmlxgrid_group.html
deleted file mode 100644
index d911e209922..00000000000
--- a/addons/web_graph/static/lib/dhtmlxGraph/samples/09_integration/02_dhtmlxgrid_group.html
+++ /dev/null
@@ -1,79 +0,0 @@
-<!--conf
-<sample>
- <product version="2.6" edition="std"/>
- <modifications>
- <modified date="100609"/>
- </modifications>
- </sample>
- -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-
-<html>
-<head>
- <title>Integration with Grid and Grouping</title>
- <link rel='STYLESHEET' type='text/css' href='../../../dhtmlxGrid/codebase/dhtmlxgrid.css'>
- <link rel='STYLESHEET' type='text/css' href='../../../dhtmlxGrid/codebase/skins/dhtmlxgrid_dhx_skyblue.css'>
- <script src='../../../dhtmlxGrid/codebase/dhtmlxcommon.js'></script>
- <script src='../../../dhtmlxGrid/codebase/dhtmlxgrid.js'></script>
- <script src='../../../dhtmlxGrid/codebase/dhtmlxgridcell.js'></script>
-
- <script src="../../codebase/dhtmlxchart.js" type="text/javascript"></script>
- <link rel="STYLESHEET" type="text/css" href="../../codebase/dhtmlxchart.css">
- <script>
- var barChart;
- window.onload = function(){
- barChart = new dhtmlXChart({
- view:"bar",
- container:"chart_container",
- value:"#sales#",
- label:"#sales#",
- sort:{
- by:"#sales#",
- as:"int"
- },
- group:{
- by:"#data2#",
- map:{
- author:["#data2#"],
- sales:["#data0#","sum"]
- }
- },
- xAxis:{
- template:"#author#"
- },
- padding:{
- left:0,
- right:0
- },
- color:"#45abf5",
- gradient:true,
- width:50,
- border:false
- });
-
- function refresh_chart(){
- barChart.clearAll();
- barChart.parse(mygrid,"dhtmlxgrid");
- };
-
- mygrid = new dhtmlXGridObject('gridbox');
- mygrid.setImagePath('../../../dhtmlxGrid/codebase/imgs/');
- mygrid.setSkin("dhx_skyblue")
- mygrid.loadXML("../../../dhtmlxGrid/samples/common/gridH.xml",refresh_chart);
- mygrid.attachEvent("onEditCell",function(stage){
- if (stage == 2)
- refresh_chart();
- return true;
- });
- }
-</script>
-</head>
-
-<body>
-
- <div id="gridbox" style="width:600px; height:270px; background-color:white;"></div>
- <hr>
- <div id="chart_container" style="width:600px;height:300px;"></div>
-
-</body>
-</html>
diff --git a/addons/web_graph/static/lib/dhtmlxGraph/samples/09_integration/03_windows.html b/addons/web_graph/static/lib/dhtmlxGraph/samples/09_integration/03_windows.html
deleted file mode 100644
index 822e621d9ca..00000000000
--- a/addons/web_graph/static/lib/dhtmlxGraph/samples/09_integration/03_windows.html
+++ /dev/null
@@ -1,77 +0,0 @@
-<!--conf
-<sample>
- <product version="2.6" edition="std"/>
- <modifications>
- <modified date="100609"/>
- </modifications>
- </sample>
- -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-
-<html>
-<head>
- <title>Integration with dhtmlxWindows</title>
-
- <link rel="stylesheet" type="text/css" href="../../../dhtmlxWindows/codebase/dhtmlxwindows.css">
- <link rel="stylesheet" type="text/css" href="../../../dhtmlxWindows/codebase/skins/dhtmlxwindows_dhx_skyblue.css">
-
- <script src="../../../dhtmlxWindows/codebase/dhtmlxcommon.js"></script>
- <script src="../../../dhtmlxWindows/codebase/dhtmlxwindows.js"></script>
- <script src="../../../dhtmlxWindows/codebase/dhtmlxcontainer.js"></script>
-
- <script src="../../codebase/dhtmlxchart.js" type="text/javascript"></script>
- <link rel="STYLESHEET" type="text/css" href="../../codebase/dhtmlxchart.css">
-
-</head>
-<style type="text/css" media="screen">
- html, body{
- height:100%;
- padding:0px;
- margin:0px;
- }
-</style>
-<body onload="doOnLoad();">
-
-<script>
- var dhxWins
- var data = [
- { sales:"3.0", year:"2000" },
- { sales:"3.8", year:"2001" },
- { sales:"3.4", year:"2002" },
- { sales:"4.1", year:"2003" },
- { sales:"4.3", year:"2004" },
- { sales:"9.9", year:"2005" },
- { sales:"7.4", year:"2006" },
- { sales:"9.0", year:"2007" },
- { sales:"7.3", year:"2008" },
- { sales:"4.8", year:"2009" }
- ];
-
-
- function doOnLoad() {
- dhxWinsParams = {
- image_path: "../../../dhtmlxWindows/codebase/imgs/",
- wins: [ {id: "w1", left: 230, top: 230, width: 420, height: 340}]
- };
- dhxWins = new dhtmlXWindows(dhxWinsParams);
- pieChart2 = dhxWins.window("w1").attachChart({
- view:"pie",
- value:"#sales#",
- pieInnerText:"#sales#",
- gradient:true,
- details:{
- width: 75,
- align:"right",
- valign:top,
- marker:{
- type:"round",
- width:15
- },
- template:"#year#"
- }
- });
-
- pieChart2.parse(data,"json");
- };
-</script>
-</body> \ No newline at end of file