Commit bbe0751a32a244e3df4524367362ad586ad847df

Authored by Edmar Moretti
1 parent f77b5543

inclusão da biblioteca open flash chart

Showing 448 changed files with 46610 additions and 0 deletions   Show diff stats

Too many changes.

To preserve performance only 100 of 448 files displayed.

pacotes/openflashchart/README.txt 0 → 100644
... ... @@ -0,0 +1,8 @@
  1 +Hello.
  2 +
  3 +This is the Open Flash Chart source code.
  4 +
  5 +Take a look around :-)
  6 +
  7 +The test data is in the 'data-files' directory.
  8 +
... ...
pacotes/openflashchart/data-files/3.html 0 → 100644
... ... @@ -0,0 +1,152 @@
  1 +<html><head>
  2 +<meta http-equiv="content-type" content="text/html; charset=UTF-8">
  3 +
  4 +<script type="text/javascript" src="../js/json/json2.js"></script>
  5 +<script type="text/javascript" src="../js/swfobject.js"></script>
  6 +
  7 +<script type="text/javascript">
  8 +
  9 +function ofc_ready()
  10 +{
  11 + alert('ofc_ready');
  12 + //load();
  13 +}
  14 +
  15 +function open_flash_chart_data()
  16 +{
  17 + alert( 'reading data' );
  18 + return JSON.stringify(chart);
  19 +}
  20 +
  21 +function load_1()
  22 +{
  23 + tmp = findSWF("my_chart");
  24 + x = tmp.load( JSON.stringify(chart) );
  25 +}
  26 +
  27 +function load_2()
  28 +{
  29 + tmp = findSWF("my_chart");
  30 + x = tmp.load( JSON.stringify(chart2) );
  31 +}
  32 +
  33 +function findSWF(movieName) {
  34 + if (navigator.appName.indexOf("Microsoft")!= -1) {
  35 + return window[movieName];
  36 + } else {
  37 + return document[movieName];
  38 + }
  39 +}
  40 +
  41 +var chart = {
  42 + "title":{
  43 + "text": "Many data lines",
  44 + "style": "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}"
  45 + },
  46 +
  47 + "y_legend":{
  48 + "text": "Open Flash Chart",
  49 + "style": "{color: #736AFF; font-size: 12px;}"
  50 + },
  51 +
  52 + "elements":[
  53 + {
  54 + "type": "bar",
  55 + "alpha": 0.5,
  56 + "colour": "#9933CC",
  57 + "text": "Page views",
  58 + "font-size": 10,
  59 + "values" : [9,6,7,9,5,7,6,9,7]
  60 + },
  61 + {
  62 + "type": "bar",
  63 + "alpha": 0.5,
  64 + "colour": "#CC9933",
  65 + "text": "Page views 2",
  66 + "font-size": 10,
  67 + "values" : [6,7,9,5,7,6,9,7,3]
  68 + }
  69 + ],
  70 +
  71 + "x_axis":{
  72 + "stroke":1,
  73 + "tick_height":10,
  74 + "colour":"#d000d0",
  75 + "grid_colour":"#00ff00",
  76 + "labels": ["January","February","March","April","May","June","July","August","Spetember"]
  77 + },
  78 +
  79 + "y_axis":{
  80 + "stroke": 4,
  81 + "tick_length": 3,
  82 + "colour": "#d000d0",
  83 + "grid_colour": "#00ff00",
  84 + "offset": 0,
  85 + "max": 20
  86 + }
  87 +};
  88 +
  89 +
  90 +var chart2 = {
  91 + "title":{
  92 + "text": "Sketch",
  93 + "style": "{font-size:35px; color: #567300}"
  94 + },
  95 +
  96 + "elements":[
  97 + {
  98 + "type": "bar_sketch",
  99 + "colour": "#81AC00",
  100 + "outline-colour": "#567300",
  101 + "text": "Sketch",
  102 + "font-size": 10,
  103 + "offset": 6,
  104 + "values" : [
  105 + 3,
  106 + 8,
  107 + -5,
  108 + {"top":5,"outline-colour": "#7030A0", "tip": "outline"},
  109 + 4,
  110 + {"top":5, "colour": "#99FF00", "tip": "colour"},
  111 + {"top":-3,"colour": "#99FF00", "outline-colour": "#7030A0", "tip": "colour + outline"},
  112 + 2,
  113 + 7.5]
  114 + }
  115 + ],
  116 +
  117 + "x_axis":{
  118 + "labels": ["January","February","March","April","May","June","July","August","Spetember"]
  119 + },
  120 +
  121 + "y_axis":{
  122 + "min": -10,
  123 + "max": 10
  124 + },
  125 +
  126 + "tooltip":{
  127 + "text": "My Tip<br>#top#,#bottom# = #val#"
  128 + }
  129 +
  130 +};
  131 +
  132 +alert( chart );
  133 +</script>
  134 +
  135 +</head>
  136 +<body>
  137 +
  138 +<div id="my_chart"></div>
  139 +
  140 +<script type="text/javascript">
  141 +swfobject.embedSWF("../open-flash-chart/open-flash-chart.swf", "my_chart", "450", "300", "9.0.0");
  142 +</script>
  143 +
  144 +
  145 +
  146 +<div>
  147 +<INPUT TYPE=BUTTON OnClick="load_1();" VALUE="Chart 1">
  148 +<INPUT TYPE=BUTTON OnClick="load_2();" VALUE="Chart 2">
  149 + </div>
  150 +
  151 +</body>
  152 +</html>
0 153 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/4.html 0 → 100644
... ... @@ -0,0 +1,55 @@
  1 +<html><head>
  2 +<meta http-equiv="content-type" content="text/html; charset=UTF-8">
  3 +
  4 +</head>
  5 +<body>
  6 +
  7 +<script type="text/javascript" src="../js/swfobject.js"></script>
  8 +
  9 +<div id="my_chart"></div>
  10 +
  11 +<script type="text/javascript">
  12 +var so = new SWFObject("../actionscript/open-flash-chart.swf", "ofc", "300", "200", "9", "#FFFFFF");
  13 +//so.addVariable("data", "../data-files/data-20.txt");
  14 +
  15 +so.addVariable("variables","true");
  16 +
  17 +
  18 +so.addVariable("pie", "60,#9933CC,#000000");
  19 +so.addVariable("values", "3,2,1,1,1,1,0.2");
  20 +so.addVariable("colours", "#d01f3c,#356aa0,#C79810");
  21 +so.addVariable("links", "javascript:alert('Jan 3'),javascript:alert('中文 2'),javascript:alert('March 1'),javascript:alert('April 1'),javascript:alert('May 1'),javascript:alert('June 1'),javascript:alert('July 0.2')");
  22 +so.addVariable("pie_labels", "January,中文,March,April,May,June,July");
  23 +so.addVariable("tool_tip", "中文<br>#x_label#<br>Value: #val#");
  24 +
  25 +
  26 +so.addParam("allowScriptAccess", "always" );//"sameDomain");
  27 +so.write("my_chart");
  28 +</script>
  29 +
  30 +<hr>
  31 +
  32 +<div id="my_chart_2"></div>
  33 +
  34 +<script type="text/javascript">
  35 +var so = new SWFObject("../actionscript/open-flash-chart.swf", "ofc", "200", "300", "9", "#FFFFFF");
  36 +//so.addVariable("data", "../data-files/data-20.txt");
  37 +
  38 +so.addVariable("variables","true");
  39 +
  40 +
  41 +so.addVariable("pie", "60,#9933CC,#000000");
  42 +so.addVariable("values", "3,2,1,1,1,1,0.2");
  43 +so.addVariable("colours", "#d01f3c,#356aa0,#C79810");
  44 +so.addVariable("links", "javascript:alert('Jan 3'),javascript:alert('中文 2'),javascript:alert('March 1'),javascript:alert('April 1'),javascript:alert('May 1'),javascript:alert('June 1'),javascript:alert('July 0.2')");
  45 +so.addVariable("pie_labels", "January,中文,March,April,May,June,July");
  46 +so.addVariable("tool_tip", "中文<br>#x_label#<br>Value: #val#");
  47 +
  48 +
  49 +so.addParam("allowScriptAccess", "always" );//"sameDomain");
  50 +so.write("my_chart_2");
  51 +</script>
  52 +
  53 +</body>
  54 +</html>
  55 +
... ...
pacotes/openflashchart/data-files/5.html 0 → 100644
... ... @@ -0,0 +1,39 @@
  1 +<html><head>
  2 +<meta http-equiv="content-type" content="text/html; charset=UTF-8">
  3 +
  4 +</head>
  5 +<body>
  6 +
  7 +<script type="text/javascript" src="../js/swfobject.js"></script>
  8 +
  9 +<div id="my_chart"></div>
  10 +
  11 +<script type="text/javascript">
  12 +
  13 + var my_chart = new SWFObject("../actionscript/open-flash-chart.swf", "ofc", "300", "200", "9", "#FFFFFF");
  14 +
  15 + my_chart.addVariable("variables","true");
  16 + my_chart.addVariable("title","report,{font-size: 16;}");
  17 + my_chart.addVariable("y_legend","data,12,0x736AFF");
  18 + my_chart.addVariable("y_label_size","14");
  19 + my_chart.addVariable("y_ticks","5,10,4");
  20 +
  21 + my_chart.addVariable("bar","50,0x9933CC,q,10");
  22 + my_chart.addVariable("line_dot_2","3,#CC3399,Line,10,5");
  23 +
  24 + my_chart.addVariable("values","29,62,58,27");
  25 + my_chart.addVariable("values_2","39,72,68,37");
  26 +
  27 + my_chart.addVariable("x_labels","2004,2005,2006,2007");
  28 +
  29 + my_chart.addVariable("x_axis_steps","2");
  30 + my_chart.addVariable("y_max","80");
  31 + my_chart.write("my_chart");
  32 +
  33 +so.addParam("allowScriptAccess", "always" );//"sameDomain");
  34 +so.write("my_chart");
  35 +</script>
  36 +
  37 +
  38 +</body>
  39 +</html>
... ...
pacotes/openflashchart/data-files/6.html 0 → 100644
... ... @@ -0,0 +1,39 @@
  1 +<html><head>
  2 +<meta http-equiv="content-type" content="text/html; charset=UTF-8">
  3 +
  4 +</head>
  5 +<body>
  6 +
  7 +<script type="text/javascript" src="../js/swfobject.js"></script>
  8 +
  9 +<div id="my_chart"></div>
  10 +
  11 +<script type="text/javascript">
  12 +
  13 + var my_chart = new SWFObject("../actionscript/open-flash-chart.swf", "ofc", "300", "200", "9", "#FFFFFF");
  14 +
  15 + my_chart.addVariable("variables","true");
  16 + my_chart.addVariable("title","report,{font-size: 16;}");
  17 + my_chart.addVariable("y_legend","data,12,0x736AFF");
  18 + my_chart.addVariable("y_label_size","14");
  19 + my_chart.addVariable("y_ticks","5,10,4");
  20 +
  21 + my_chart.addVariable("bar","50,0x9933CC,q,10");
  22 + my_chart.addVariable("line_dot_2","3,#CC3399,Line,10,5");
  23 +
  24 + my_chart.addVariable("values","29,62,58,27");
  25 + my_chart.addVariable("values_2","39,72,68,37");
  26 +
  27 + my_chart.addVariable("x_labels","2004,2005,2006,2007");
  28 +
  29 + my_chart.addVariable("x_axis_steps","2");
  30 + my_chart.addVariable("y_max","80");
  31 + my_chart.write("my_chart");
  32 +
  33 +so.addParam("allowScriptAccess", "always" );//"sameDomain");
  34 +so.write("my_chart");
  35 +</script>
  36 +
  37 +
  38 +</body>
  39 +</html>
... ...
pacotes/openflashchart/data-files/7.html 0 → 100644
... ... @@ -0,0 +1,43 @@
  1 +<html><head>
  2 +<meta http-equiv="content-type" content="text/html; charset=UTF-8">
  3 +
  4 +</head>
  5 +<body>
  6 +
  7 +<script type="text/javascript" src="../js/swfobject.js"></script>
  8 +
  9 +<div id="my_chart"></div>
  10 +
  11 +<script type="text/javascript">
  12 +
  13 +var d = Date.parse("Jul 8, 2005")-Date.parse("Jul 9, 2005");
  14 +alert(d);
  15 +
  16 +var d = Date.parse("Jul 8, 2005");
  17 +alert(d);
  18 +
  19 +var d2 = Date.parse("Jul 8, 2006") - d;
  20 +alert(d2);
  21 + var so = new SWFObject("../actionscript/open-flash-chart.swf", "ofc", "300", "200", "9", "#FFFFFF");
  22 +
  23 +
  24 +
  25 + so.addVariable("variables","true");
  26 +so.addVariable("scatter","3,0x004040,Dataset1,10");
  27 +so.addVariable("y_min", "0");
  28 +so.addVariable("y_max", 200);
  29 +so.addVariable("x_min", d);
  30 +so.addVariable("x_max", d2);
  31 +so.addVariable("values","[" + (Date.parse("Jul 8, 2005")-d) + ",100,5],[" + ((Date.parse("Jul 8, 2005")+4)-d) + ",150,5]");
  32 +//so.addVariable("x_labels",Date.parse("Jul 8, 2005")+",x,y,z,"+Date.parse("Jul 8, 2006") );
  33 +so.addVariable("x_labels","Jul 8, 2005,x,y,z,Jul 8, 2006");
  34 +so.addVariable("x_axis_steps","86400000")&
  35 +so.addVariable("tool_tip","x:#x_label#<br>y:#val#");
  36 +
  37 +so.addParam("allowScriptAccess", "always" );//"sameDomain");
  38 +so.write("my_chart");
  39 +</script>
  40 +
  41 +
  42 +</body>
  43 +</html>
... ...
pacotes/openflashchart/data-files/8.html 0 → 100644
... ... @@ -0,0 +1,34 @@
  1 +<html><head>
  2 +<meta http-equiv="content-type" content="text/html; charset=UTF-8">
  3 +
  4 +</head>
  5 +<body>
  6 +
  7 +<script type="text/javascript" src="../js/swfobject.js"></script>
  8 +
  9 +<div id="my_chart"></div>
  10 +
  11 +<script type="text/javascript">
  12 +
  13 + var so = new SWFObject("../actionscript/open-flash-chart.swf", "ofc", "470", "280", "9", "#FFFFFF");
  14 + so.addVariable("variables","true");
  15 +so.addVariable("x_axis_steps","1");
  16 +so.addVariable("y_ticks","5,10,5");
  17 +so.addVariable("line","3,#87421F");
  18 +so.addVariable("y_min","0");
  19 +so.addVariable("y_max","20");
  20 +so.addVariable("pie","60,#E4F0DB,#000000,1,,1");
  21 +so.addVariable("values","1,1");
  22 +so.addVariable("pie_labels","Germany,Spain");
  23 +so.addVariable("bg_colour","#ffffff");
  24 +so.addVariable("colours","#d01f3c,#356aa0,#C79810");
  25 +so.addVariable("links","javascript:alert('12'),javascript:alert('10'),javascript:alert('10'),javascript:alert('11'),javascript:alert('6')");
  26 +so.addVariable("tool_tip","#x_label#<br>Followers:#val#");
  27 +
  28 +so.addVariable("allowScriptAccess", "always" );//"sameDomain");
  29 +so.write("my_chart");
  30 +</script>
  31 +
  32 +
  33 +</body>
  34 +</html>
... ...
pacotes/openflashchart/data-files/area-1.txt 0 → 100644
... ... @@ -0,0 +1,39 @@
  1 +{
  2 + "title":{
  3 + "text":"Area Chart",
  4 + "style":"{font-size: 30px;}"
  5 + },
  6 +
  7 + "y_legend":{
  8 + "text":"OFC",
  9 + "style":"{font-size: 12px; color:#736AFF;}"
  10 + },
  11 +
  12 + "elements":[
  13 + {
  14 + "type": "area",
  15 + "colour": "#CC3399",
  16 + "fill": "#343399",
  17 + "fill-alpha": 0.5,
  18 + "text": "Page views",
  19 + "width": 3,
  20 + "font-size": 10,
  21 + "dot-style": {
  22 + "type":"anchor",
  23 + "sides":3,
  24 + "width":1,
  25 + "tip":"type = anchor\nsides = 3\nhollow" },
  26 + "values" : [
  27 + 0,0.37,0.73,1.07,1.36,1.59,1.77,1.87,
  28 + 1.89,1.85,1.72,1.53,1.28,0.97,0.63,
  29 + {"value" :0.26, "type":"star", "colour":"#FF0000", "dot-size":10},
  30 + -0.11,-0.48,-0.84,-1.16,-1.43,
  31 + -1.65,-1.80,-1.88,-1.89,-1.82,-1.67,-1.46,-1.19,-0.88]
  32 + }
  33 + ],
  34 +
  35 + "y_axis":{
  36 + "min": -2,
  37 + "max": 2
  38 + }
  39 +}
... ...
pacotes/openflashchart/data-files/area-line-dash.txt 0 → 100644
... ... @@ -0,0 +1,33 @@
  1 +{
  2 + "title":{
  3 + "text":"Volume Consumed",
  4 + "style":"font-size: 14px; font-family: Verdana; text-align: center;"},
  5 + "x_axis":{
  6 + "offset": false,
  7 + "labels":{
  8 + "steps":3,
  9 + "labels":[
  10 + "0","1","2","3","4","5",
  11 + "6","7","8","9","10","11",
  12 + "12","13","14","15","16",
  13 + "17","18","19","20","21",
  14 + "22","23","24","25","26",
  15 + "27","28","29","30","31"]
  16 + }
  17 + },
  18 + "bg_colour":"#ffffff",
  19 + "elements":[
  20 + {
  21 + "type": "area",
  22 + "colour": "#CC3399",
  23 + "line-style": {"style":"dash","on":4,"off":4},
  24 + "dot-style": {"type":"hollow-dot", "width":1, "size":2},
  25 + "values":[
  26 + 4,4.37,4.73,5.07,5.36,5.59,5.77,5.87,5.89,5.85,5.72,5.53,5.28,4.97,4.63,4.26,
  27 + 3.88,3.51,3.15,2.83,2.56,2.34,2.19,2.11,2.10,2.17,2.32,2.53,2.80,3.11,3.46,3.84],
  28 + "fill-alpha":0.5,
  29 + "width": 1,
  30 + "on-show": {"type": "mid-slide", "cascade":1, "delay":0.5}
  31 + }
  32 + ]
  33 +}
0 34 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/area-line.txt 0 → 100644
... ... @@ -0,0 +1,40 @@
  1 +{
  2 + "title":{
  3 + "text":"Area Chart",
  4 + "style":"{font-size: 30px;}"
  5 + },
  6 +
  7 + "y_legend":{
  8 + "text":"OFC",
  9 + "style":"{font-size: 12px; color:#736AFF;}"
  10 + },
  11 +
  12 + "elements":[
  13 + {
  14 + "type": "area",
  15 + "colour": "#CC3399",
  16 + "fill": "#343399",
  17 + "fill-alpha": 0.5,
  18 + "text": "Page views",
  19 + "width": 3,
  20 + "font-size": 10,
  21 + "dot-size": 7,
  22 + "tip": "Hello<br>#val#",
  23 + "values" : [0,0.37,0.73,1.07,1.36,1.59,1.77,1.87,1.89,1.85,1.72,1.53,1.28,0.97,0.63,0.26,-0.11,-0.48,-0.84,-1.16,-1.43,-1.65,-1.80,-1.88,-1.89,-1.82,-1.67,-1.46,-1.19,-0.88]
  24 + }
  25 + ],
  26 +
  27 + "x_axis":{
  28 + "ma--x":30,
  29 + "labels": {
  30 + "labels": ["0.00","0.38","0.74","1.07","1.36","1.60","1.77","1.87","1.90","1.85","1.73","1.54",
  31 + "1.28","0.98","0.64","0.27","-0.11","-0.49","-0.84","-1.16","-1.44","-1.66","-1.81",
  32 + "-1.89","-1.89","-1.82","-1.68","-1.47","-1.20","-0.88"]
  33 + }
  34 + },
  35 +
  36 + "y_axis":{
  37 + "min": -2,
  38 + "max": 2
  39 + }
  40 +}
... ...
pacotes/openflashchart/data-files/area-point-objects.txt 0 → 100644
... ... @@ -0,0 +1,112 @@
  1 +{
  2 +"elements": [
  3 + {
  4 + "type": "area",
  5 + "fill-alpha": 0.4,
  6 + "values": [
  7 + {
  8 + "value": 0,
  9 + "colour": "#D02020",
  10 + "tip": "October 2007 Search Rank<br>Rank 0 \/ 100"
  11 + },
  12 + {
  13 + "value": 0,
  14 + "colour": "#D02020",
  15 + "tip": "November 2007 Search Rank<br>Rank 0 \/ 100"
  16 + },
  17 + {
  18 + "value": 0,
  19 + "colour": "#D02020",
  20 + "tip": "December 2007 Search Rank<br>Rank 0 \/ 100"
  21 + },
  22 + {
  23 + "value": 0,
  24 + "colour": "#D02020",
  25 + "tip": "January 2008 Search Rank<br>Rank 0 \/ 100"
  26 + },
  27 + {
  28 + "value": 0,
  29 + "colour": "#D02020",
  30 + "tip": "February 2008 Search Rank<br>Rank 0 \/ 100"
  31 + },
  32 + {
  33 + "value": 0,
  34 + "colour": "#D02020",
  35 + "tip": "March 2008 Search Rank<br>Rank 0 \/ 100"
  36 + },
  37 + {
  38 + "value": 83,
  39 + "colour": "#D02020",
  40 + "tip": "April 2008 Search Rank<br>Rank 83 \/ 100"
  41 + },
  42 + {
  43 + "value": 76,
  44 + "colour": "#D02020",
  45 + "tip": "May 2008 Search Rank<br>Rank 76 \/ 100"
  46 + },
  47 + {
  48 + "value": 100,
  49 + "colour": "#D02020",
  50 + "tip": "June 2008 Search Rank<br>Rank 100 \/ 100"
  51 + },
  52 + {
  53 + "value": 80,
  54 + "colour": "#D02020",
  55 + "tip": "July 2008 Search Rank<br>Rank 80 \/ 100"
  56 + },
  57 + {
  58 + "value": 73,
  59 + "colour": "#D02020",
  60 + "tip": "August 2008 Search Rank<br>Rank 73 \/ 100"
  61 + },
  62 + {
  63 + "value": 100,
  64 + "colour": "#D02020",
  65 + "tip": "September 2008 Search Rank<br>Rank 100 \/ 100"
  66 + }
  67 + ],
  68 + "width": 2,
  69 + "dot-size": 4,
  70 + "halo-size": 2,
  71 + "colour": "#ff9900",
  72 + "fill": "#dbecf6"
  73 + }
  74 + ],
  75 + "bg_colour": "#ffffff",
  76 + "x_axis": {
  77 + "colour": "#aaaaaa",
  78 + "grid-colour": "#eeeeee",
  79 + "stroke": 1,
  80 + "tick-height": 4,
  81 + "labels": {
  82 + "labels": [
  83 + "Oct",
  84 + "Nov",
  85 + "Dec",
  86 + "Jan",
  87 + "Feb",
  88 + "Mar",
  89 + "Apr",
  90 + "May",
  91 + "Jun",
  92 + "Jul",
  93 + "Aug",
  94 + "Sep"
  95 + ]
  96 + }
  97 + },
  98 + "y_axis": {
  99 + "colour": "#aaaaaa",
  100 + "grid-colour": "#eeeeee",
  101 + "stroke": 1,
  102 + "tick-length": 5,
  103 + "min": 0,
  104 + "max": 105,
  105 + "steps": 50
  106 + },
  107 + "tooltip": {
  108 + "stroke": 1,
  109 + "colour": "#000000",
  110 + "background": "#fffbca"
  111 + }
  112 +}
0 113 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/bar-2.txt 0 → 100644
... ... @@ -0,0 +1,51 @@
  1 +{
  2 + "title":{
  3 + "text": "Many data lines",
  4 + "style": "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}"
  5 + },
  6 +
  7 + "y_legend":{
  8 + "text": "Open Flash Chart",
  9 + "style": "{color: #736AFF; font-size: 12px;}"
  10 + },
  11 +
  12 + "elements":[
  13 + {
  14 + "type": "bar",
  15 + "alpha": 0.5,
  16 + "colour": "#9933CC",
  17 + "text": "Page views",
  18 + "font-size": 10,
  19 + "values" : [9,6,7,9,5,7,6,9,7]
  20 + },
  21 + {
  22 + "type": "bar",
  23 + "alpha": 0.5,
  24 + "colour": "#CC9933",
  25 + "text": "Page views 2",
  26 + "font-size": 10,
  27 + "values" : [4,9,6,7,9,5,7,6,9]
  28 + }
  29 + ],
  30 +
  31 + "x_axis":{
  32 + "stroke":1,
  33 + "tick_height":10,
  34 + "colour":"#d000d0",
  35 + "grid_colour":"#00ff00",
  36 + "labels": ["January","February","March","April","May","June","July","August","Spetember"]
  37 + },
  38 +
  39 + "y_axis":{
  40 + "stroke": 4,
  41 + "tick_length": 3,
  42 + "colour": "#d000d0",
  43 + "grid_colour": "#00ff00",
  44 + "offset": 0,
  45 + "max": 20
  46 + }
  47 +
  48 +/* &x_axis_steps=2& */
  49 +
  50 +}
  51 +
... ...
pacotes/openflashchart/data-files/bar-3d-2-BUG.txt 0 → 100644
... ... @@ -0,0 +1,56 @@
  1 +/* bar close together overlap - bug */
  2 +
  3 +{
  4 + "title":{
  5 + "text": "Many data lines",
  6 + "style": "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}"
  7 + },
  8 +
  9 + "y_legend":{
  10 + "text": "Open Flash Chart",
  11 + "style": "{color: #736AFF; font-size: 12px;}"
  12 + },
  13 +
  14 + "elements":[
  15 + {
  16 + "type": "bar_3d",
  17 + "alpha": 0.8,
  18 + "colour": "#9933CC",
  19 + "text--": "Page views",
  20 + "font-size--": 10,
  21 + "values" : [9,6,7,9,5,{"top":7,"colour":"#A03030","tip":"#top#<br>hello"},6,9,7]
  22 + },
  23 + {
  24 + "type": "bar_3d",
  25 + "alpha": 0.8,
  26 + "colour": "#f00000",
  27 + "text": "Page views",
  28 + "font-size": 10,
  29 + "values" : [9,6,7,9,5,{"top":7,"colour":"#A03030","tip":"#top#<br>#x_label#"},6,9,7]
  30 + }
  31 + ],
  32 +
  33 + "x_axis":{
  34 + "stroke": 1,
  35 + "tick_height": 10,
  36 + "colour": "#d000d0",
  37 + "grid_colour": "#00ff00",
  38 + "labels": {
  39 + "labels": ["January","February","March","April","May","June","July","August","Spetember"]
  40 + },
  41 + "3d": 5
  42 + },
  43 +
  44 + "y_axis":{
  45 + "stroke": 4,
  46 + "tick_length": 3,
  47 + "colour": "#d000d0",
  48 + "grid_colour": "#00ff00",
  49 + "offset": 0,
  50 + "max": 20
  51 + }
  52 +
  53 +/* &x_axis_steps=2& */
  54 +
  55 +}
  56 +
... ...
pacotes/openflashchart/data-files/bar-3d.txt 0 → 100644
... ... @@ -0,0 +1,48 @@
  1 +
  2 +
  3 +{
  4 + "title":{
  5 + "text": "Many data lines",
  6 + "style": "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}"
  7 + },
  8 +
  9 + "y_legend":{
  10 + "text": "Open Flash Chart",
  11 + "style": "{color: #736AFF; font-size: 12px;}"
  12 + },
  13 +
  14 + "elements":[
  15 + {
  16 + "type": "bar_3d",
  17 + "alpha": 0.5,
  18 + "colour": "#9933CC",
  19 + "text--": "Page views",
  20 + "font-size--": 10,
  21 + "values" : [9,6,7,9,5,{"top":7,"colour":"#A03030","tip":"#top#<br>hello"},6,9,7]
  22 + }
  23 + ],
  24 +
  25 + "x_axis":{
  26 + "stroke": 1,
  27 + "tick_height": 10,
  28 + "colour": "#d000d0",
  29 + "grid_colour": "#00ff00",
  30 + "labels": {
  31 + "labels": ["January","February","March","April","May","June","July","August","Spetember"]
  32 + },
  33 + "3d": 5
  34 + },
  35 +
  36 + "y_axis":{
  37 + "stroke": 4,
  38 + "tick_length": 3,
  39 + "colour": "#d000d0",
  40 + "grid_colour": "#00ff00",
  41 + "offset": 0,
  42 + "max": 20
  43 + }
  44 +
  45 +/* &x_axis_steps=2& */
  46 +
  47 +}
  48 +
... ...
pacotes/openflashchart/data-files/bar-4.txt 0 → 100644
... ... @@ -0,0 +1,59 @@
  1 +{
  2 + "title":{
  3 + "text": "Many data lines",
  4 + "style": "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}"
  5 + },
  6 +
  7 + "y_legend":{
  8 + "text": "Open Flash Chart",
  9 + "style": "{color: #736AFF; font-size: 12px;}"
  10 + },
  11 +
  12 + "elements":[
  13 + {
  14 + "type": "bar",
  15 + "alpha": 0.5,
  16 + "colour": "#9933CC",
  17 + "text": "Page views",
  18 + "font-size": 10,
  19 + "values" : [9,6,7,9,5,{"top":7,"colour":"#A03030","tip":"#top#<br>hello"},6,null,7]
  20 + },
  21 + {
  22 + "type": "bar",
  23 + "alpha": 0.5,
  24 + "colour": "#CC9933",
  25 + "text": "Page views 2",
  26 + "font-size": 10,
  27 + "values" : [4,9,6,7,9,5,7,6,9]
  28 + },
  29 + {
  30 + "type": "bar",
  31 + "alpha": 0.5,
  32 + "colour": "#CC0000",
  33 + "text": "XXX",
  34 + "font-size": 10,
  35 + "values" : [6,7,9,5,7,6,9,5,5]
  36 + }
  37 + ],
  38 +
  39 + "x_axis":{
  40 + "stroke":1,
  41 + "tick_height":10,
  42 + "colour":"#d000d0",
  43 + "grid_colour":"#00ff00",
  44 + "labels": ["January","February","March","April","May","June","July","August","Spetember"]
  45 + },
  46 +
  47 + "y_axis":{
  48 + "stroke": 4,
  49 + "tick_length": 3,
  50 + "colour": "#d000d0",
  51 + "grid_colour": "#00ff00",
  52 + "offset": 0,
  53 + "max": 20
  54 + }
  55 +
  56 +/* &x_axis_steps=2& */
  57 +
  58 +}
  59 +
... ...
pacotes/openflashchart/data-files/bar-all-onclick.txt 0 → 100644
... ... @@ -0,0 +1,91 @@
  1 +{
  2 + "title":{
  3 + "text": "Many data lines",
  4 + "style": "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}"
  5 + },
  6 +
  7 + "elements":[
  8 + {
  9 + "type": "bar",
  10 + "colour": "#9933CC",
  11 + "on-click": "trace:http://example.com",
  12 + "values" : [{"top":7, "on-click": "trace:http://google.com"},0,-7]
  13 + },
  14 + {
  15 + "type": "bar_sketch",
  16 + "colour": "#9933CC",
  17 + "on-click": "trace:http://example.com",
  18 + "values" : [{"top":7, "on-click": "trace:http://google.com"},0,-7]
  19 + },
  20 + {
  21 + "type": "bar_glass",
  22 + "colour": "#9933CC",
  23 + "on-click": "trace:http://example.com",
  24 + "values" : [{"top":7, "on-click": "trace:http://google.com"},0,-7]
  25 + },
  26 + {
  27 + "type": "bar_3d",
  28 + "colour": "#9933CC",
  29 + "on-click": "trace:http://example.com",
  30 + "values" : [{"top":7, "on-click": "trace:http://google.com"},0,-7]
  31 + },
  32 + {
  33 + "type": "bar_filled",
  34 + "colour": "#9933CC",
  35 + "on-click": "trace:http://example.com",
  36 + "values" : [{"top":7, "on-click": "trace:http://google.com"},0,-7]
  37 + },
  38 + {
  39 + "type": "bar_cylinder",
  40 + "colour": "#9933CC",
  41 + "on-click": "trace:http://example.com",
  42 + "values" : [{"top":7, "on-click": "trace:http://google.com"},0,-7]
  43 + },
  44 + {
  45 + "type": "bar_cylinder_outline",
  46 + "colour": "#3030FF",
  47 + "on-click": "trace:http://example.com",
  48 + "values" : [{"top":7, "on-click": "trace:http://google.com"},0,-7]
  49 + },
  50 + {
  51 + "type": "bar_round_glass",
  52 + "colour": "#CC0000",
  53 + "on-click": "trace:http://example.com",
  54 + "values" : [{"top":7, "on-click": "trace:http://google.com"},0,-7]
  55 + },
  56 + {
  57 + "type": "bar_round",
  58 + "colour": "#CC0000",
  59 + "on-click": "trace:http://example.com",
  60 + "values" : [{"top":7, "on-click": "trace:http://google.com"},0,-7]
  61 + },
  62 + {
  63 + "type": "bar_dome",
  64 + "colour": "#CCCC00",
  65 + "on-click": "trace:http://example.com",
  66 + "values" : [{"top":7, "on-click": "trace:http://google.com"},0,-7]
  67 + },
  68 + {
  69 + "type": "bar_plastic",
  70 + "colour": "#CCCC00",
  71 + "on-click": "trace:http://example.com",
  72 + "values" : [{"top":7, "on-click": "trace:http://google.com"},0,-7]
  73 + },
  74 + {
  75 + "type": "bar_plastic_flat",
  76 + "colour": "#CCCC00",
  77 + "on-click": "trace:http://example.com",
  78 + "values" : [{"top":7, "on-click": "trace:http://google.com"},0,-7]
  79 + }
  80 + ],
  81 +
  82 + "y_axis":{
  83 + "tick_length": 3,
  84 + "colour": "#d000d0",
  85 + "grid_colour": "#00ff00",
  86 + "offset": 0,
  87 + "min": -10,
  88 + "max": 10
  89 + }
  90 +}
  91 +
... ...
pacotes/openflashchart/data-files/bar-alpha.txt 0 → 100644
... ... @@ -0,0 +1,62 @@
  1 +{
  2 + "title":{
  3 + "text": "Many data lines",
  4 + "style": "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}"
  5 + },
  6 +
  7 + "y_legend":{
  8 + "text": "Open Flash Chart",
  9 + "style": "{color: #736AFF; font-size: 12px;}"
  10 + },
  11 +
  12 + "elements":[
  13 + {
  14 + "type": "bar",
  15 + "colour": "#9933CC",
  16 + "alpha": 0.5,
  17 + "values" : [9]
  18 + },
  19 + {
  20 + "type": "bar_cylinder_outline",
  21 + "colour": "#CC9933",
  22 + "alpha": 0.9,
  23 + "values" : [{"top":7,"colour":"#30A030","tip":"#top#<br>hello"}]
  24 + },
  25 + {
  26 + "type": "bar_cylinder_outline",
  27 + "colour": "#CC9933",
  28 + "alpha": 0.9,
  29 + "values" : [{"top":7,"colour":"#A03030","tip":"#top#<br>hello","alpha":0.2}]
  30 + },
  31 + {
  32 + "type": "bar_sketch",
  33 + "colour": "#0000FF",
  34 + "alpha": 0.5,
  35 + "values" : [4]
  36 + },
  37 + {
  38 + "type": "bar_glass",
  39 + "alpha": 0.5,
  40 + "colour": "#CC9933",
  41 + "values" : [6]
  42 + }
  43 + ],
  44 +
  45 + "x_axis":{
  46 + "stroke":1,
  47 + "tick_height":10,
  48 + "colour":"#d000d0",
  49 + "grid_colour":"#00ff00",
  50 + "labels": ["January","February","March","April","May","June","July","August","Spetember"]
  51 + },
  52 +
  53 + "y_axis":{
  54 + "stroke": 4,
  55 + "tick_length": 3,
  56 + "colour": "#d000d0",
  57 + "grid_colour": "#00ff00",
  58 + "offset": 0,
  59 + "max": 20
  60 + }
  61 +}
  62 +
... ...
pacotes/openflashchart/data-files/bar-cylinder.txt 0 → 100644
... ... @@ -0,0 +1,75 @@
  1 +{
  2 + "title":{
  3 + "text": "Many data lines",
  4 + "style": "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}"
  5 + },
  6 +
  7 + "y_legend":{
  8 + "text": "Open Flash Chart",
  9 + "style": "{color: #736AFF; font-size: 12px;}"
  10 + },
  11 +
  12 + "elements":[
  13 + {
  14 + "type": "bar_cylinder",
  15 + "alpha": 0.5,
  16 + "colour": "#9933CC",
  17 + "text": "Page views",
  18 + "font-size": 10,
  19 + "values" : [5,{"top":7,"colour":"#A03030","tip":"#top#<br>hello"},-6,null,7]
  20 + },
  21 + {
  22 + "type": "bar_cylinder_outline",
  23 + "alpha": 0.7,
  24 + "colour": "#3030FF",
  25 + "text": "Page views 2",
  26 + "font-size": 10,
  27 + "values" : [4,9,9,-6,9]
  28 + },
  29 + {
  30 + "type": "bar_round_glass",
  31 + "alpha": 0.7,
  32 + "colour": "#CC0000",
  33 + "values" : [6,5,7,-5]
  34 + },
  35 + {
  36 + "type": "bar_round",
  37 + "alpha": 0.7,
  38 + "colour": "#CC0000",
  39 + "values" : [6,5,7,-5]
  40 + },
  41 + {
  42 + "type": "bar_dome",
  43 + "alpha": 0.7,
  44 + "colour": "#CCCC00",
  45 + "values" : [6,-5,5,7]
  46 + },
  47 + {
  48 + "type": "bar_round3d",
  49 + "alpha": 0.7,
  50 + "colour": "#CCCC00",
  51 + "values" : [6,-5,5,7]
  52 + }
  53 + ],
  54 +
  55 + "x_axis":{
  56 + "stroke":1,
  57 + "tick_height":10,
  58 + "colour":"#d000d0",
  59 + "grid_colour":"#00ff00",
  60 + "labels": ["January","February","March","April","May","June","July","August","Spetember"]
  61 + },
  62 +
  63 + "y_axis":{
  64 + "tick_length": 3,
  65 + "colour": "#d000d0",
  66 + "grid_colour": "#00ff00",
  67 + "offset": 0,
  68 + "min": -10,
  69 + "max": 20
  70 + }
  71 +
  72 +/* &x_axis_steps=2& */
  73 +
  74 +}
  75 +
... ...
pacotes/openflashchart/data-files/bar-filled.txt 0 → 100644
... ... @@ -0,0 +1,40 @@
  1 +{
  2 + "title":{
  3 + "text": "Filled",
  4 + "style": "{font-size:35px; color: #567300}"
  5 + },
  6 +
  7 + "elements":[
  8 + {
  9 + "type": "bar_filled",
  10 + "colour": "#81AC00",
  11 + "outline-colour": "#567300",
  12 + "values" : [
  13 + 3,
  14 + 8,
  15 +null,
  16 + -5,
  17 + {"top":5,"outline-colour": "#7030A0", "tip": "outline"},
  18 + 4,
  19 + {"top":5, "colour": "#99FF00", "tip": "colour"},
  20 + {"top":-3,"colour": "#D08080", "outline-colour": "#FF0000", "tip": "colour + outline"},
  21 + null,
  22 + 7.5]
  23 + }
  24 + ],
  25 +
  26 + "x_axis":{
  27 + "labels": ["January","February","March","April","May","June","July","August","Spetember"]
  28 + },
  29 +
  30 + "y_axis":{
  31 + "min": -10,
  32 + "max": 10
  33 + },
  34 +
  35 + "tooltip":{
  36 + "text": "My Tip<br>#top#,#bottom# = #val#"
  37 + }
  38 +
  39 +}
  40 +
... ...
pacotes/openflashchart/data-files/bar-floating-2.txt 0 → 100644
... ... @@ -0,0 +1,48 @@
  1 +{
  2 + "title": {
  3 + "text": "Fri Jul 11 2008"
  4 + },
  5 + "elements": [
  6 + {
  7 + "type": "bar",
  8 + "values": [
  9 + 130,
  10 + 180,
  11 + 200,
  12 + {
  13 + "top": 170
  14 + },
  15 + {
  16 + "top": 130,
  17 + "colour": "#000000",
  18 + "tip": "Hello<br>#top#"
  19 + },
  20 + null,
  21 + 150
  22 + ]
  23 + },
  24 + {
  25 + "type": "bar_filled",
  26 + "values": [
  27 + 140,
  28 + 190,
  29 + 180,
  30 + 140,
  31 + {
  32 + "top": 200,
  33 + "bottom": 150,
  34 +"tip":"#top# - #bottom#"
  35 + },
  36 + 160,
  37 + 130
  38 + ],
  39 + "colour": "#FFEF3F"
  40 + }
  41 + ],
  42 + "bg_colour": "#FFFFFF",
  43 + "y_axis": {
  44 + "min": 100,
  45 + "max": 200,
  46 + "steps": 10
  47 + }
  48 +}
0 49 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/bar-floating.txt 0 → 100644
... ... @@ -0,0 +1,37 @@
  1 +{
  2 + "title":{
  3 + "text": "Floating bars, -10 to 10",
  4 + "style": "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}"
  5 + },
  6 +
  7 + "y_legend":{
  8 + "text": "Open Flash Chart",
  9 + "style": "{color: #736AFF; font-size: 12px;}"
  10 + },
  11 +
  12 + "elements":[
  13 + {
  14 + "type": "bar",
  15 + "alpha": 0.5,
  16 + "colour": "#9933CC",
  17 + "text": "Page views",
  18 + "font-size": 10,
  19 + "values" : [9,9,5,7,{"top":4,"bottom":-4,"tip":"LOOK<br>#top#,#bottom# = #val#"},-9,{"top":4,"bottom":-5}]
  20 + }
  21 + ],
  22 +
  23 + "x_axis":{
  24 + "labels": ["January","February","March","April","May","June","July"]
  25 + },
  26 +
  27 + "y_axis":{
  28 + "min": 10,
  29 + "max": -10
  30 + },
  31 +
  32 + "tooltip":{
  33 + "text": "My Tip<br>#top#,#bottom# = #val#"
  34 + }
  35 +
  36 +}
  37 +
... ...
pacotes/openflashchart/data-files/bar-glass-2.txt 0 → 100644
... ... @@ -0,0 +1,59 @@
  1 +{
  2 + "title":{
  3 + "text": "Many data lines",
  4 + "style": "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}"
  5 + },
  6 +
  7 + "y_legend":{
  8 + "text": "Open Flash Chart",
  9 + "style": "{color: #736AFF; font-size: 12px;}"
  10 + },
  11 +
  12 + "elements":[
  13 + {
  14 + "type": "bar_glass",
  15 + "alpha": 0.5,
  16 + "colour": "#9933CC",
  17 + "tip": "Tip for purple bars<br>val=#val#, top=#top#",
  18 + "text--": "Page views",
  19 + "font-size--": 10,
  20 + "values" : [9,6,7,9,5,{"top":7,"colour":"#FF0000", "tip": "RED<br>Mooo<br>#val#"},6,9,7]
  21 + },
  22 + {
  23 + "type": "bar_glass",
  24 + "alpha": 0.5,
  25 + "colour": "#44FF44",
  26 + "tip": "Tip for green bars<br>val=#val#, top=#top#",
  27 + "text--": "Page views",
  28 + "font-size--": 10,
  29 + "values" : [6,7,9,5,9,{"top":7,"colour":"#FF0000", "tip": "RED<br>W000t<br>#val#"},6,5,2]
  30 + }
  31 + ],
  32 +
  33 + "x_axis":{
  34 + "stroke": 1,
  35 + "tick_height": 10,
  36 + "colour": "#d000d0",
  37 + "grid_colour": "#00ff00",
  38 + "labels": {
  39 + "labels": ["January","February","March","April","May","June","July","August","Spetember"]
  40 + }
  41 + },
  42 +
  43 + "y_axis":{
  44 + "stroke": 4,
  45 + "tick_length": 3,
  46 + "colour": "#d000d0",
  47 + "grid_colour": "#00ff00",
  48 + "offset": 0,
  49 + "max": 20
  50 + },
  51 +
  52 + "tooltip":{
  53 + "text": "Global Tooltip<br>val=#val#, top=#top#"
  54 + }
  55 +
  56 +/* &x_axis_steps=2& */
  57 +
  58 +}
  59 +
... ...
pacotes/openflashchart/data-files/bar-glass-height-0.txt 0 → 100644
... ... @@ -0,0 +1,50 @@
  1 +{
  2 + "title":{
  3 + "text": "Many data lines",
  4 + "style": "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}"
  5 + },
  6 +
  7 + "y_legend":{
  8 + "text": "Open Flash Chart",
  9 + "style": "{color: #736AFF; font-size: 12px;}"
  10 + },
  11 +
  12 + "elements":[
  13 + {
  14 + "type": "bar_glass",
  15 + "alpha": 0.5,
  16 + "colour": "#9933CC",
  17 + "tip": "Tip for purple bars<br>val=#val#, top=#top#",
  18 + "text--": "Page views",
  19 + "font-size--": 10,
  20 + "values" : [9,6,7,0,5,{"top":7,"colour":"#FF0000", "tip": "RED<br>Mooo<br>#val#"},6,9,7]
  21 + }
  22 + ],
  23 +
  24 + "x_axis":{
  25 + "stroke": 1,
  26 + "tick_height": 10,
  27 + "colour": "#d000d0",
  28 + "grid_colour": "#00ff00",
  29 + "labels": {
  30 + "labels": ["January","February","March","April","May","June","July","August","Spetember"]
  31 + }
  32 + },
  33 +
  34 + "y_axis":{
  35 + "stroke": 4,
  36 + "tick_length": 3,
  37 + "colour": "#d000d0",
  38 + "grid_colour": "#00ff00",
  39 + "offset": 0,
  40 + "max": 20
  41 + },
  42 +
  43 + "tooltip":{
  44 + "text": "Global Tooltip<br>val=#val#, top=#top#"
  45 + }
  46 +
  47 +/* &x_axis_steps=2& */
  48 +
  49 +}
  50 +
... ...
pacotes/openflashchart/data-files/bar-glass.txt 0 → 100644
... ... @@ -0,0 +1,49 @@
  1 +{
  2 + "title":{
  3 + "text": "Many data lines",
  4 + "style": "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}"
  5 + },
  6 +
  7 + "y_legend":{
  8 + "text": "Open Flash Chart",
  9 + "style": "{color: #736AFF; font-size: 12px;}"
  10 + },
  11 +
  12 + "elements":[
  13 + {
  14 + "type": "bar_glass",
  15 + "alpha": 0.5,
  16 + "colour": "#9933CC",
  17 + "text--": "Page views",
  18 + "font-size--": 10,
  19 + "values" : [9,6,7,9,5,{"top":7,"colour":"#FF0000", "tip": "Mooo<br>#val#"},6,9,7]
  20 + }
  21 + ],
  22 +
  23 + "x_axis":{
  24 + "stroke": 1,
  25 + "tick_height": 10,
  26 + "colour": "#d000d0",
  27 + "grid_colour": "#00ff00",
  28 + "labels": {
  29 + "labels": ["January","February","March","April","May","June","July","August","Spetember"]
  30 + }
  31 + },
  32 +
  33 + "y_axis":{
  34 + "stroke": 4,
  35 + "tick_length": 3,
  36 + "colour": "#d000d0",
  37 + "grid_colour": "#00ff00",
  38 + "offset": 0,
  39 + "max": 20
  40 + },
  41 +
  42 + "tooltip":{
  43 + "text": "My Tip<br>val=#val#, top=#top#"
  44 + }
  45 +
  46 +/* &x_axis_steps=2& */
  47 +
  48 +}
  49 +
... ...
pacotes/openflashchart/data-files/bar-groups-with-nulls.txt 0 → 100644
... ... @@ -0,0 +1,51 @@
  1 +{
  2 + "title":{
  3 + "text": "Many data lines",
  4 + "style": "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}"
  5 + },
  6 +
  7 + "y_legend":{
  8 + "text": "Open Flash Chart",
  9 + "style": "{color: #736AFF; font-size: 12px;}"
  10 + },
  11 +
  12 + "elements":[
  13 + {
  14 + "type": "bar",
  15 + "alpha": 0.5,
  16 + "colour": "#9933CC",
  17 + "text": "Page views",
  18 + "font-size": 10,
  19 + "values" : [9,6,7,9,5,{"top":7,"colour":"#A03030","tip":"#top#<br>hello"},6,null,7]
  20 + },
  21 + {
  22 + "type": "bar",
  23 + "alpha": 0.5,
  24 + "colour": "#CC9933",
  25 + "text": "Page views 2",
  26 + "font-size": 10,
  27 + "values" : [4,9,6,7,9,5,7,6,9]
  28 + }
  29 + ],
  30 +
  31 + "x_axis":{
  32 + "stroke":1,
  33 + "tick-height":10,
  34 + "colour":"#d000d0",
  35 + "grid-colour":"#00ff00",
  36 + "labels": ["January","February","March","April","May","June","July","August","Spetember"]
  37 + },
  38 +
  39 + "y_axis":{
  40 + "stroke": 4,
  41 + "tick-length": 3,
  42 + "colour": "#d000d0",
  43 + "grid-colour": "#00ff00",
  44 + "offset": 0,
  45 + "max": 20
  46 + }
  47 +
  48 +/* &x_axis_steps=2& */
  49 +
  50 +}
  51 +
... ...
pacotes/openflashchart/data-files/bar-on-show-cascade.txt 0 → 100644
... ... @@ -0,0 +1,53 @@
  1 +{
  2 + "title":{
  3 + "text": "Many data lines",
  4 + "style": "{font-size: 20px; color:#909090; font-family: Verdana; text-align: center;}"
  5 + },
  6 +
  7 + "y_legend":{
  8 + "text": "Open Flash Chart",
  9 + "style": "{color: #909090; font-size: 12px;}"
  10 + },
  11 +
  12 + "elements":[
  13 + {
  14 + "type": "bar_glass",
  15 + "alpha": 0.5,
  16 + "colour": "#9933CC",
  17 + "text": "Page views",
  18 + "font-size": 10,
  19 + "on-show": {"type": "pop", "cascade":1, "delay":2.5},
  20 + "values" : [9,6,7,9,5,7,6,9,7]
  21 + },
  22 + {
  23 + "type": "bar",
  24 + "alpha": 0.5,
  25 + "colour": "#CC9933",
  26 + "text": "Page views 2",
  27 + "font-size": 10,
  28 + "on-show": {"type": "drop", "cascade":0.9},
  29 + "values" : [4,9,6,7,9,5,7,6,9]
  30 + }
  31 + ],
  32 +
  33 + "x_axis":{
  34 + "stroke":1,
  35 + "tick_height":10,
  36 + "colour":"#909090",
  37 + "grid_colour":"#00ff00",
  38 + "labels": ["January","February","March","April","May","June","July","August","Spetember"]
  39 + },
  40 +
  41 + "y_axis":{
  42 + "stroke": 4,
  43 + "tick_length": 3,
  44 + "colour": "#909090",
  45 + "grid_colour": "#d0d0d0",
  46 + "offset": 0,
  47 + "max": 20
  48 + }
  49 +
  50 +/* &x_axis_steps=2& */
  51 +
  52 +}
  53 +
... ...
pacotes/openflashchart/data-files/bar-on-show-pop.txt 0 → 100644
... ... @@ -0,0 +1,49 @@
  1 +{
  2 + "title":{
  3 + "text": "Many data lines",
  4 + "style": "{font-size: 20px; color:#909090; font-family: Verdana; text-align: center;}"
  5 + },
  6 +
  7 + "y_legend":{
  8 + "text": "Open Flash Chart",
  9 + "style": "{color: #909090; font-size: 12px;}"
  10 + },
  11 +
  12 + "elements":[
  13 + {
  14 + "type": "b-ar",
  15 + "alpha": 0.5,
  16 + "colour": "#9933CC",
  17 + "text": "Page views",
  18 + "font-size": 10,
  19 + "values" : [9,6,7,9,5,7,6,9,7]
  20 + },
  21 + {
  22 + "type": "bar_glass",
  23 + "alpha": 0.5,
  24 + "colour": "#CC9933",
  25 + "text": "Page views 2",
  26 + "font-size": 10,
  27 + "on-show": {"type": "pop", "delay":0.5, "cascade":0.6},
  28 + "values" : [4,9,6,7,9,5,7,6,9]
  29 + }
  30 + ],
  31 +
  32 + "x_axis":{
  33 + "stroke":1,
  34 + "tick_height":10,
  35 + "colour":"#909090",
  36 + "grid_colour":"#00ff00",
  37 + "labels": ["January","February","March","April","May","June","July","August","Spetember"]
  38 + },
  39 +
  40 + "y_axis":{
  41 + "stroke": 4,
  42 + "tick_length": 3,
  43 + "colour": "#909090",
  44 + "grid_colour": "#d0d0d0",
  45 + "offset": 0,
  46 + "max": 20
  47 + }
  48 +}
  49 +
... ...
pacotes/openflashchart/data-files/bar-on-show.txt 0 → 100644
... ... @@ -0,0 +1,49 @@
  1 +{
  2 + "title":{
  3 + "text": "Many data lines",
  4 + "style": "{font-size: 20px; color:#909090; font-family: Verdana; text-align: center;}"
  5 + },
  6 +
  7 + "y_legend":{
  8 + "text": "Open Flash Chart",
  9 + "style": "{color: #909090; font-size: 12px;}"
  10 + },
  11 +
  12 + "elements":[
  13 + {
  14 + "type": "bar",
  15 + "alpha": 0.5,
  16 + "colour": "#9933CC",
  17 + "text": "Page views",
  18 + "font-size": 10,
  19 + "values" : [9,6,7,9,5,7,6,9,7]
  20 + },
  21 + {
  22 + "type": "bar_glass",
  23 + "alpha": 0.5,
  24 + "colour": "#CC9933",
  25 + "text": "Page views 2",
  26 + "font-size": 10,
  27 + "on-show": {"type": "grow-up"},
  28 + "values" : [4,9,6,7,9,5,7,6,9]
  29 + }
  30 + ],
  31 +
  32 + "x_axis":{
  33 + "stroke":1,
  34 + "tick_height":10,
  35 + "colour":"#909090",
  36 + "grid_colour":"#00ff00",
  37 + "labels": ["January","February","March","April","May","June","July","August","Spetember"]
  38 + },
  39 +
  40 + "y_axis":{
  41 + "stroke": 4,
  42 + "tick_length": 3,
  43 + "colour": "#909090",
  44 + "grid_colour": "#d0d0d0",
  45 + "offset": 0,
  46 + "max": 20
  47 + }
  48 +}
  49 +
... ...
pacotes/openflashchart/data-files/bar-sketch.txt 0 → 100644
... ... @@ -0,0 +1,42 @@
  1 +{
  2 + "title":{
  3 + "text": "Sketch",
  4 + "style": "{font-size:35px; color: #567300}"
  5 + },
  6 +
  7 + "elements":[
  8 + {
  9 + "type": "bar_sketch",
  10 + "colour": "#81AC00",
  11 + "outline-colour": "#567300",
  12 + "text": "Sketch",
  13 + "font-size": 10,
  14 + "offset": 7,
  15 + "values" : [
  16 + 3,
  17 + 8,
  18 + -5,
  19 + {"top":5,"outline-colour": "#7030A0", "tip": "outline"},
  20 + 4,
  21 + {"top":5, "colour": "#99FF00", "tip": "colour"},
  22 + {"top":-3,"colour": "#99FF00", "outline-colour": "#7030A0", "tip": "colour + outline"},
  23 + 2,
  24 + 7.5]
  25 + }
  26 + ],
  27 +
  28 + "x_axis":{
  29 + "labels": ["January","February","March","April","May","June","July","August","Spetember"]
  30 + },
  31 +
  32 + "y_axis":{
  33 + "min": -10,
  34 + "max": 10
  35 + },
  36 +
  37 + "tooltip":{
  38 + "text": "My Tip<br>#top#,#bottom# = #val#"
  39 + }
  40 +
  41 +}
  42 +
... ...
pacotes/openflashchart/data-files/bar-test-all.txt 0 → 100644
... ... @@ -0,0 +1,83 @@
  1 +{
  2 +
  3 + "title":{
  4 + "text":"Glass Bar Cart",
  5 + "style":"{font-size:20px; color: #FFFFFF; margin: 5px; background-color: #505050; padding:5px 20px 5px 20px;}"
  6 + },
  7 +
  8 + "elements":[
  9 + {
  10 + "type": "bar_3d",
  11 + "colour": "#9933CC",
  12 + "text": "Page views",
  13 + "font-size": 10,
  14 + "values" : [10,-6]
  15 + },
  16 + {
  17 + "type": "bar_fade-",
  18 + "colour": "#3334AD",
  19 + "text": "Stuff",
  20 + "font-size": 10,
  21 + "values" : [10,-10]
  22 + },
  23 + {
  24 + "type": "bar",
  25 + "colour": "#339966",
  26 + "text": "Green Bar",
  27 + "font-size": 10,
  28 + "values" : [7,-7]
  29 + },
  30 + {
  31 + "type": "bar_glass",
  32 + "colour": "#339966",
  33 + "text": "Green Bar",
  34 + "font-size": 10,
  35 + "values" : [10,-10]
  36 + },
  37 + {
  38 + "type": "bar_filled",
  39 + "colour": "#8822BB",
  40 + "outline-colour": "#8010A0",
  41 + "text": "Outline",
  42 + "font-size": 10,
  43 + "values" : [8,-8]
  44 + }
  45 +
  46 + ],
  47 +
  48 +
  49 + "x_axis":{
  50 + "labels": { "labels" :["Jan","Feb"] },
  51 + "3d": 5
  52 + },
  53 +
  54 + "y_axis":{
  55 + "min": -20,
  56 + "max": 20
  57 + },
  58 +
  59 + "y_legend":{
  60 + "text":"OFC",
  61 + "style":"{font-size: 12px; color:#7E97A6;}"
  62 + }
  63 +}
  64 +
  65 +/*
  66 +
  67 +&bg_colour=#E2E6E0&
  68 +&show_y2=true&
  69 +&y2_axis_colour=#164166&
  70 + &y2_label_style=10,0x164166&
  71 +&_y2_lines=2,4&
  72 +
  73 + &y2_min=-10&
  74 +&y2_max=10&
  75 +
  76 +&y2_legend=Free Ram (mb),12,0x164166&
  77 +
  78 +&tool_tip=#x_legend#, € %25 #x_label#<br>#key#: £#val#.00<br>#val:time#&
  79 +&x_legend=2007,12,0x164166&
  80 +
  81 +*/
  82 +
  83 +
... ...
pacotes/openflashchart/data-files/bug-1.txt 0 → 100644
... ... @@ -0,0 +1,76 @@
  1 +{
  2 + "title":
  3 + {
  4 + "text": "Tooltip Demo",
  5 + "style": "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}"
  6 + },
  7 + "x_axis":
  8 + {
  9 + "offset": false,
  10 + "labels":
  11 + {
  12 + "steps": 1
  13 + },
  14 + "steps": 1,
  15 + "3d": 0
  16 + },
  17 + "y_axis":
  18 + {
  19 + "tick-length": 0,
  20 + "offset": 0,
  21 + "steps": 5,
  22 + "min": -10,
  23 + "max": 15,
  24 + "3d": 0
  25 + },
  26 + "elements":
  27 + [
  28 + {
  29 + "width": 2,
  30 + "dot-size": 5,
  31 + "halo-size": 3,
  32 + "colour": "#456f3",
  33 + "values":
  34 + [
  35 + 7,
  36 + 7.3774717285106162,
  37 + 7.7398948503864364,
  38 + 8.0728206994505669,
  39 + 8.3629765727090941,
  40 + 8.598794871135004,
  41 + 8.77087426333773,
  42 + 8.8723544869780735,
  43 + 8.89918984577886,
  44 + 8.8503104986685717,
  45 + 8.727665110968795,
  46 + 8.5361431672572223,
  47 + 8.2833800430471864,
  48 + 7.9794526064607822,
  49 + 7.6364774852962185,
  50 + 7.2681280153137466,
  51 + 6.8890891274875967,
  52 + 6.5144719061490193,
  53 + 6.1592111577397786,
  54 + 5.8374700072088324,
  55 + 5.5620752589149349,
  56 + 5.3440060324141818,
  57 + 5.191956059609919,
  58 + 5.1119870930964169,
  59 + 5.1072872432119034,
  60 + 5.1780438781400377,
  61 + 5.32143615413171,
  62 + 5.5317474736436267,
  63 + 5.8005933880425928,
  64 + 6.1172558591138655,
  65 + 6.4691105534220457
  66 + ],
  67 + "text": "line1",
  68 + "fillalpha": 0.35,
  69 + "type": "line"
  70 + }
  71 + ],
  72 + "tooltip":
  73 + {
  74 + "text": "global tooltip #val#"
  75 + }
  76 +}
0 77 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/candle.txt 0 → 100644
... ... @@ -0,0 +1,41 @@
  1 +{
  2 + "title":{
  3 + "text": "Candle",
  4 + "style": "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}"
  5 + },
  6 +
  7 + "y_legend":{
  8 + "text": "Open Flash Chart",
  9 + "style": "{color: #736AFF; font-size: 12px;}"
  10 + },
  11 +
  12 + "elements":[
  13 + {
  14 + "type": "candle",
  15 + "alpha": 0.5,
  16 + "colour": "#40d040",
  17 + "negative-colour": "#d04040",
  18 + "text": "Burn baby, burn",
  19 + "font-size": 10,
  20 + "on-show": {"type": "po-p", "cascade":1, "delay":0},
  21 + "tip": "#x_label#<br>High: #high#<br>Open: #open#<br>Close: #close#<br>Low: #low#",
  22 + "values" : [
  23 + {"high":19, "top":14, "bottom":11, "low":10, "tip":"LOOK<br>#top#,#bottom# = #val#"},
  24 + {"high":15, "top":10, "bottom":5, "low":0},
  25 + {"high":7, "top":7, "bottom":4, "low":3},
  26 + {"high":7, "top":3, "bottom":6, "low":2},
  27 + {"high":7, "top":4, "bottom":4, "low":2}
  28 + ]
  29 + }
  30 + ],
  31 +
  32 + "x_axis":{
  33 + "labels": ["January","February","March"]
  34 + },
  35 +
  36 + "y_axis":{
  37 + "max": 20
  38 + }
  39 +
  40 +}
  41 +
... ...
pacotes/openflashchart/data-files/combined-chart-bar-line-scatter.txt 0 → 100644
... ... @@ -0,0 +1,84 @@
  1 +{
  2 + "title":{
  3 + "text": "Request from user: TheBashar",
  4 + "style": "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}"
  5 + },
  6 +
  7 + "y_legend":{
  8 + "text": "Open Flash Chart",
  9 + "style": "{color: #736AFF; font-size: 12px;}"
  10 + },
  11 +
  12 + "elements":[
  13 + {
  14 + "type": "bar",
  15 + "alpha": 0.7,
  16 + "colour": "#6D9934",
  17 + "text": "Page views",
  18 + "font-size": 10,
  19 + "values" : [169,166,167,169,165,167,166,169,167]
  20 + },
  21 + {
  22 + "type": "line",
  23 + "dot-style": {"type":"solid-dot", "dot-size": 2, "halo": 1},
  24 + "values": [ 190, 192, 193, 194, 192, 190, 192, 193, 194 ],
  25 + "width": 2,
  26 + "colour": "#A18B6A",
  27 + "text": "S&P 500",
  28 + "font-size": 12
  29 + },
  30 + {
  31 + "type": "scatter",
  32 + "colour": "#FFB900",
  33 + "text": "Avg",
  34 + "font-size": 10,
  35 + "dot-style": {"type":"star", "colour":"#DD0000", "hollow":false},
  36 + "values" : [
  37 + {"x":3.5, "y":193, "tip":"HELLO" },
  38 + {"x":7, "y":190, "dot-size":7}
  39 + ]
  40 + },
  41 + {
  42 + "type": "scatter",
  43 + "colour": "#FFB900",
  44 + "text": "Avg",
  45 + "font-size": 10,
  46 + "dot-style": {"type":"anchor", "sides":4, "rotation":45, "colour":"#6D9934", "hollow":false},
  47 + "values" : [
  48 + {"x":3, "y":192},
  49 + {"x":3.2, "y":192},
  50 + {"x":4, "y":192},
  51 + {"x":4.5, "y":192},
  52 + {"x":8, "y":190}
  53 + ]
  54 + }
  55 + ],
  56 +
  57 + "bg_colour": "#FAF7F5",
  58 +
  59 + "x_axis":{
  60 + "stroke":1,
  61 + "tick-length":2,
  62 + "colour":"#696969",
  63 + "grid-visible":false,
  64 + "labels": ["10<br>January","15<br>Jan","March","April","May","June","July","August","Spetember"]
  65 + },
  66 +
  67 + "y_axis":{
  68 + "stroke": 1,
  69 + "tick-length": 2,
  70 + "colour": "#696969",
  71 + "grid-colour": "#B5B4B3",
  72 + "offset": 0,
  73 + "min": 160,
  74 + "max": 200,
  75 + "steps": 5
  76 + },
  77 +
  78 + "tooltip":{
  79 + "mouse": 1,
  80 + "stroke":1
  81 + }
  82 +
  83 +}
  84 +
... ...
pacotes/openflashchart/data-files/comparisons.txt 0 → 100644
... ... @@ -0,0 +1,220 @@
  1 +{
  2 + "y_legend":{
  3 + "text": "Time of day",
  4 + "style": "{color: #736AFF;}"
  5 + },
  6 +
  7 + "elements":[
  8 + {
  9 + "type": "line",
  10 + "colour": "#736AFF",
  11 + "width": 2,
  12 + "values" : [
  13 + /* December 28 - January 3 */
  14 + 5217,12957,13761,10001,4409,10737,6805
  15 + ]},
  16 + {
  17 + "type": "line",
  18 + "colour": "#736AFF",
  19 + "width": 2,
  20 + "values" : [
  21 + /* January 4 - January 10 */
  22 + 7265,15366,17295,17434,19908,18646,7590
  23 + ]},
  24 + {
  25 + "type": "line",
  26 + "colour": "#736AFF",
  27 + "width": 2,
  28 + "values" : [
  29 + /* January 11 - January 17 */
  30 + 8807,16022,19428,18060,19342,16441,9144
  31 + ]},
  32 + {
  33 + "type": "line",
  34 + "colour": "#736AFF",
  35 + "width": 2,
  36 + "values" : [
  37 + /* January 18 - January 24 */
  38 + 6987,18623,18234,18695,19463,18197,8038
  39 + ]},
  40 + {
  41 + "type": "line",
  42 + "colour": "#736AFF",
  43 + "width": 2,
  44 + "values" : [
  45 + /* January 25 - January 31 */
  46 + 7388,16279,17989,16972,17300,16900,8631
  47 + ]},
  48 + {
  49 + "type": "line",
  50 + "colour": "#736AFF",
  51 + "width": 2,
  52 + "values" : [
  53 + /* February 1 - February 7 */
  54 + 7630,15920,18820,19736,19877,19036,9498
  55 + ]},
  56 + {
  57 + "type": "line",
  58 + "colour": "#736AFF",
  59 + "width": 2,
  60 + "values" : [
  61 + /* February 8 - February 14 */
  62 + 8462,20963,21375,19958,20934,19418,7468
  63 + ]},
  64 + {
  65 + "type": "line",
  66 + "colour": "#736AFF",
  67 + "width": 2,
  68 + "values" : [
  69 + /* February 15 - February 21 */
  70 + 8156,18542,21337,22606,20517,19413,8287
  71 + ]},
  72 + {
  73 + "type": "line",
  74 + "colour": "#736AFF",
  75 + "width": 2,
  76 + "values" : [
  77 + /* February 22 - February 28 */
  78 + 7697,18689,19207,20320,18814,19901,8910
  79 + ]},
  80 + {
  81 + "type": "line",
  82 + "colour": "#736AFF",
  83 + "width": 2,
  84 + "values" : [
  85 + /* March 1 - March 7 */
  86 + 9208,19608,20342,22017,21121,21887,9295
  87 + ]},
  88 + {
  89 + "type": "line",
  90 + "colour": "#736AFF",
  91 + "width": 2,
  92 + "values" : [
  93 + /* March 8 - March 14 */
  94 + 10137,20351,22631,23537,22577,21766,8350
  95 + ]},
  96 + {
  97 + "type": "line",
  98 + "colour": "#736AFF",
  99 + "width": 2,
  100 + "values" : [
  101 + /* March 15 - March 21 */
  102 + 8615,21410,20658,21802,21743,19196,9142
  103 + ]},
  104 + {
  105 + "type": "line",
  106 + "colour": "#736AFF",
  107 + "width": 2,
  108 + "values" : [
  109 + /* March 22 - March 28 */
  110 + 9597,23737,25651,26392,24262,22219,10238
  111 + ]},
  112 + {
  113 + "type": "line",
  114 + "colour": "#736AFF",
  115 + "width": 2,
  116 + "values" : [
  117 + /* March 29 - April 4 */
  118 + 8986,23116,26447,26273,23800,22472,9885
  119 + ]},
  120 + {
  121 + "type": "line",
  122 + "colour": "#736AFF",
  123 + "width": 2,
  124 + "values" : [
  125 + /* April 5 - April 11 */
  126 + 9877,26088,27208,23224,23080,18266,10373
  127 + ]},
  128 + {
  129 + "type": "line",
  130 + "colour": "#736AFF",
  131 + "width": 2,
  132 + "values" : [
  133 + /* April 12 - April 18 */
  134 + 8749,19981,25231,25573,25301,22133,11443
  135 + ]},
  136 + {
  137 + "type": "line",
  138 + "colour": "#736AFF",
  139 + "width": 2,
  140 + "values" : [
  141 + /* April 19 - April 25 */
  142 + 9606,23534,26971,27599,28266,28851,14547
  143 + ]},
  144 + {
  145 + "type": "line",
  146 + "colour": "#736AFF",
  147 + "width": 2,
  148 + "values" : [
  149 + /* April 26 - May 2 */
  150 + 8536,23146,25804,23278,23338,11409,8987
  151 + ]},
  152 + {
  153 + "type": "line",
  154 + "colour": "#736AFF",
  155 + "width": 2,
  156 + "values" : [
  157 + /* May 3 - May 9 */
  158 + 9927,20798,23867,24617,22217,20556,9146
  159 + ]},
  160 + {
  161 + "type": "line",
  162 + "colour": "#736AFF",
  163 + "width": 2,
  164 + "values" : [
  165 + /* May 10 - May 16 */
  166 + 8655,21463,23547,24920,27221,22235,10928
  167 + ]},
  168 + {
  169 + "type": "line",
  170 + "colour": "#736AFF",
  171 + "width": 2,
  172 + "values" : [
  173 + /* May 17 - May 23 */
  174 + 9601,21913,25392,24938,22652,22858,9513
  175 + ]},
  176 + {
  177 + "type": "line",
  178 + "colour": "#736AFF",
  179 + "width": 2,
  180 + "values" : [
  181 + /* May 24 - May 30 */
  182 + 9423,22241,25194,24351,23348,23821,8379
  183 + ]},
  184 + {
  185 + "type": "line",
  186 + "colour": "#736AFF",
  187 + "width": 2,
  188 + "values" : [
  189 + /* May 31 - June 6 */
  190 + 10162,20333,28830,25407,24313,24205,10580
  191 + ]},
  192 + {
  193 + "type": "line",
  194 + "colour": "#736AFF",
  195 + "width": 2,
  196 + "values" : [
  197 + /* June 7 - June 13 */
  198 + 9726,24385,28695,25270,22878,21605,9805
  199 + ]},
  200 + {
  201 + "type": "line",
  202 + "colour": "#736AFF",
  203 + "width": 2,
  204 + "values" : [
  205 + /* June 14 - June 20 */
  206 + 9395,22256,26144,26589,26070,24894,10347
  207 + ]}
  208 + ],
  209 + "x_axis":{
  210 + "labels": {
  211 + "rotate": "vertical",
  212 + "labels":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]
  213 + }
  214 + },
  215 +
  216 + "y_axis":{
  217 + "max": 30000
  218 + }
  219 +
  220 +}
... ...
pacotes/openflashchart/data-files/exp.txt 0 → 100644
... ... @@ -0,0 +1,9 @@
  1 +/*
  2 +
  3 +https://sourceforge.net/forum/forum.php?thread_id=2131075&forum_id=716572
  4 +
  5 +by brian hull
  6 +
  7 +*/
  8 +
  9 +{ "title": { "text": "Mitigating Systems Performance Index, High Pressure Injection System", "style": "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}" }, "y_legend":{ "text":"Arkansas Nuclear 1", "style":"{font-size: 12px; color:#736AFF;}" }, "elements": [ { "type": "line_hollow", "fill_alpha": 0.5, "colour": "#9933CC", "text": "Thresholds: White > 1.00E-6 Yellow > 1.00E-5 Red > 1.00E-4 ", "font-size": 10, "values": [3.28,4.29,6.39,6.49,4.99,3.99,7.28,5.28] } ], "x_axis": { "labels": { "steps": 1, "rotate": "vertical", "colour": "#CF4D5F", "size": 16, "labels": [ "2Q/06","3Q/06","4Q/06","1Q/07","2Q/07","3Q/07","4Q/07","1Q/08" ] } }, "x_legend": { "text": "Original Values: 3.20E-08 4.20E-09 6.30E-09 6.40E-09 4.90E-09 3.90E-09 7.20E-08 5.20E-08 ", "style": "{font-size: 10px; color: #778877}" }, "y_axis":{ "min": 3, "max": 12.28, "steps": 2 }, "y_axis_right": { "stroke": 0, "colour": "#D7E4A3", "tick-length": 30, "steps": 1, "labels": [ "Indicator","Threshold","A","Be ","Will","This" ] } }
0 10 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/flash-variable.html 0 → 100644
... ... @@ -0,0 +1,32 @@
  1 +<html><head>
  2 +<meta http-equiv="content-type" content="text/html; charset=UTF-8">
  3 +
  4 +<script type="text/javascript">
  5 +
  6 +function ofc_ready()
  7 +{
  8 + alert('ofc_ready');
  9 +}
  10 +
  11 +</script>
  12 +
  13 +</head>
  14 +<body>
  15 +
  16 +<script type="text/javascript" src="../js/swfobject.js"></script>
  17 +
  18 +<div id="my_chart"></div>
  19 +
  20 +<script type="text/javascript">
  21 +
  22 +var so = new SWFObject("../open-flash-chart/open-flash-chart.swf", "ofc", "250", "200", "9", "#FFFFFF");
  23 +so.addVariable("data-file", "../data-files/data-60.txt");
  24 +so.addParam("allowScriptAccess", "always" );//"sameDomain");
  25 +so.write("my_chart");
  26 +
  27 +</script>
  28 +
  29 +<div>boo</div>
  30 +
  31 +</body>
  32 +</html>
0 33 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/horizontal-bar-chart-2.txt 0 → 100644
... ... @@ -0,0 +1,35 @@
  1 +{
  2 +
  3 + "title_":{
  4 + "text":"Tooltip Hover",
  5 + "style":"{font-size: 20px; font-family: Verdana; text-align: center;}"
  6 + },
  7 +
  8 + "elements":[
  9 + {
  10 + "type": "hbar",
  11 + "tip": "#val#<br>L:#left#, R:#right#",
  12 + "colour": "#9933CC",
  13 + "text": "Page views",
  14 + "font-size": 10,
  15 + "values" : [{"right":10},{"right":15},{"left":5,"right":15}]
  16 + }
  17 + ],
  18 + "x_axis":{
  19 + "min": 0,
  20 + "max": 20,
  21 + "offset": false,
  22 + "labels": {
  23 + "labels": ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v"]
  24 + }
  25 + },
  26 + "y_axis":{
  27 + "offset": true,
  28 + "labels": ["slashdot.org","digg.com","reddit.com"]
  29 +
  30 + },
  31 +
  32 + "tooltip":{
  33 + "mouse": 1
  34 + }
  35 +}
0 36 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/horizontal-bar-chart-3.txt 0 → 100644
... ... @@ -0,0 +1,35 @@
  1 +{
  2 +
  3 + "title_":{
  4 + "text":"Tooltip Hover",
  5 + "style":"{font-size: 20px; font-family: Verdana; text-align: center;}"
  6 + },
  7 +
  8 + "elements":[
  9 + {
  10 + "type": "hbar",
  11 + "tip": "#val#<br>L:#left#, R:#right#",
  12 + "colour": "#9933CC",
  13 + "text": "Page views",
  14 + "font-size": 10,
  15 + "values" : [{"right":10},{"right":15},{"left":5,"right":15}]
  16 + }
  17 + ],
  18 + "x_axis":{
  19 + "min": 0,
  20 + "max": 20,
  21 + "offset": false,
  22 + "labels": {
  23 + "labels": ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v"]
  24 + }
  25 + },
  26 + "y_axis":{
  27 + "offset": true,
  28 + "labels": ["slashdot.org","digg.com","reddit.com"]
  29 +
  30 + },
  31 +
  32 + "tooltip":{
  33 + "mouse": 1
  34 + }
  35 +}
0 36 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/horizontal-bar-chart.txt 0 → 100644
... ... @@ -0,0 +1,34 @@
  1 +{
  2 +
  3 + "title_":{
  4 + "text":"Horizontal Bar Chart",
  5 + "style":"{font-size: 20px; font-family: Verdana; text-align: center;}"
  6 + },
  7 +
  8 + "elements":[
  9 + {
  10 + "type": "hbar",
  11 + "tip": "#val#<br>L:#left#, R:#right#",
  12 + "colour": "#9933CC",
  13 + "text": "Page views",
  14 + "font-size": 10,
  15 + "values" : [{"right":10},{"right":15},{"left":5,"right":15}]
  16 + }
  17 + ],
  18 + "x_axis_":{
  19 + "min": 0,
  20 + "max": 20,
  21 + "offset": false,
  22 + "labels": {
  23 + "labels": ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v"]
  24 + }
  25 + },
  26 + "y_axis":{
  27 + "offset": true,
  28 + "labels": ["slashdot.org","digg.com","reddit.com"]
  29 + },
  30 +
  31 + "tooltip_":{
  32 + "mouse": 0
  33 + }
  34 +}
0 35 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/json-example.html 0 → 100644
... ... @@ -0,0 +1,43 @@
  1 +<html>
  2 +<head>
  3 +
  4 +<script type="text/javascript">
  5 +
  6 +function load()
  7 +{
  8 + tmp = findSWF("ofc");
  9 + x = tmp.load('{"title":{"text":"hello"}, "x_axis":{"max":6},"elements":[{"type":"line","text":"moo","font-size":10,"values":[5,8,9,4,7,8]}]}');
  10 +}
  11 +
  12 +function onrollout2()
  13 +{
  14 + tmp = findSWF("ofc");
  15 + x = tmp.rollout();
  16 +}
  17 +
  18 +function findSWF(movieName) {
  19 + if (navigator.appName.indexOf("Microsoft")!= -1) {
  20 + return window[movieName];
  21 + } else {
  22 + return document[movieName];
  23 + }
  24 +}
  25 +
  26 +</script>
  27 +
  28 +</head>
  29 +<body>
  30 +
  31 +<script type="text/javascript" src="../js/swfobject.js"></script>
  32 +
  33 +<div id="my_chart" style="padding: 0px; margin:10px; border: 1px solid lightblue; width: 250px; height: 200px;" onmouseout="__onrollout();"></div>
  34 +
  35 +<script type="text/javascript">
  36 +var so = new SWFObject("../open-flash-chart/open-flash-chart.swf", "ofc", "250", "200", "9", "#FFFFFF");
  37 +so.addParam("allowScriptAccess", "always" );//"sameDomain");
  38 +so.write("my_chart");
  39 +</script>
  40 +
  41 +<input type="submit" onclick="javascript:load()" value="go">
  42 +</body>
  43 +</html>
0 44 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/json-test-2.html 0 → 100644
... ... @@ -0,0 +1,131 @@
  1 +<html><head>
  2 +<meta http-equiv="content-type" content="text/html; charset=UTF-8">
  3 +
  4 +<script type="text/javascript" src="../js/swfobject.js"></script>
  5 +<script type="text/javascript" src="../js/json/json2.js"></script>
  6 +
  7 +<script type="text/javascript">
  8 +
  9 +function ofc_ready()
  10 +{
  11 + alert('ofc_ready');
  12 + tmp = findSWF("ofc");
  13 + x = tmp.load( JSON.stringify(data) );
  14 +}
  15 +
  16 +
  17 +function button_click()
  18 +{
  19 + tmp = findSWF("ofc");
  20 + x = tmp.load( JSON.stringify(data_2) );
  21 +}
  22 +
  23 +function findSWF(movieName) {
  24 + if (navigator.appName.indexOf("Microsoft")!= -1) {
  25 + return window[movieName];
  26 + } else {
  27 + return document[movieName];
  28 + }
  29 +}
  30 +
  31 +var data = {
  32 +
  33 + "title_":{
  34 + "text":"Custom tooltip",
  35 + "style":"{font-size: 20px; font-family: Verdana; text-align: center;}"
  36 + },
  37 +
  38 + "elements":[
  39 + {
  40 + "type": "bar",
  41 + "colour": "#9933CC",
  42 + "text": "Page views",
  43 + "font-size": 10,
  44 + "values" : [9,6,7,9,5,7,6,9,9]
  45 + }
  46 + ],
  47 + "x_axis":{
  48 + "labels": ["January","February","March","April","May","June","July","August","Spetember"]
  49 + },
  50 + "y_axis":{
  51 + "max":20
  52 + },
  53 + "tooltip":{
  54 + "shadow":false,
  55 + "stroke":5,
  56 + "colour":"#00d000",
  57 + "background":"#d0d0ff",
  58 + "title":"{font-size: 14px; color: #905050;}",
  59 + "body":"{font-size: 10px; font-weight: bold; color: #9090ff;}"
  60 + }
  61 +}
  62 +
  63 +var data_2 = {
  64 + "title":{
  65 + "text": "Many data lines",
  66 + "style": "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}"
  67 + },
  68 +
  69 + "y_legend":{
  70 + "text": "Open Flash Chart",
  71 + "style": "{color: #736AFF; font-size: 12px;}"
  72 + },
  73 +
  74 + "elements":[
  75 + {
  76 + "type": "bar",
  77 + "alpha": 0.5,
  78 + "colour": "#9933CC",
  79 + "text": "Page views",
  80 + "font-size": 10,
  81 + "values" : [9,6,7,9,5,7,6,9,7]
  82 + },
  83 + {
  84 + "type": "bar",
  85 + "alpha": 0.5,
  86 + "colour": "#CC9933",
  87 + "text": "Page views 2",
  88 + "font-size": 10,
  89 + "values" : [9,6,7,9,5,7,6,9,7]
  90 + }
  91 + ],
  92 +
  93 + "x_axis":{
  94 + "stroke":1,
  95 + "tick_height":10,
  96 + "colour":"#d000d0",
  97 + "grid_colour":"#00ff00",
  98 + "labels": ["January","February","March","April","May","June","July","August","Spetember"]
  99 + },
  100 +
  101 + "y_axis":{
  102 + "stroke": 4,
  103 + "tick_length": 3,
  104 + "colour": "#d000d0",
  105 + "grid_colour": "#00ff00",
  106 + "offset": 0,
  107 + "max": 20
  108 + }
  109 +}
  110 +
  111 +
  112 +
  113 +</script>
  114 +
  115 +
  116 +</head>
  117 +<body>
  118 +
  119 +
  120 +<div id="my_chart"></div>
  121 +
  122 +<script type="text/javascript">
  123 +var so = new SWFObject("../open-flash-chart/open-flash-chart.swf?p=moo", "ofc", "300", "250", "9", "#FFFFFF");
  124 +so.addParam("allowScriptAccess", "always" );//"sameDomain");
  125 +so.write("my_chart");
  126 +</script>
  127 +
  128 +<a href="javascript:button_click()">load json</a>
  129 +
  130 +</body>
  131 +</html>
0 132 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/json-test.html 0 → 100644
... ... @@ -0,0 +1,136 @@
  1 +<html><head>
  2 +<meta http-equiv="content-type" content="text/html; charset=UTF-8">
  3 +
  4 +<script type="text/javascript" src="../js/swfobject.js"></script>
  5 +<script type="text/javascript" src="../js/json/json2.js"></script>
  6 +
  7 +<script type="text/javascript">
  8 +
  9 +function ofc_ready()
  10 +{
  11 + alert('ofc_ready');
  12 + // tmp = findSWF("ofc");
  13 + // x = tmp.load( JSON.stringify(data) );
  14 +}
  15 +
  16 +function open_flash_chart_data()
  17 +{
  18 + alert( 'reading data' );
  19 + return JSON.stringify(data);
  20 +}
  21 +
  22 +function load()
  23 +{
  24 + tmp = findSWF("ofc");
  25 + x = tmp.load( JSON.stringify(data_2) );
  26 +}
  27 +
  28 +function findSWF(movieName) {
  29 + if (navigator.appName.indexOf("Microsoft")!= -1) {
  30 + return window[movieName];
  31 + } else {
  32 + return document[movieName];
  33 + }
  34 +}
  35 +
  36 +var data = {
  37 +
  38 + "title_":{
  39 + "text":"Custom tooltip",
  40 + "style":"{font-size: 20px; font-family: Verdana; text-align: center;}"
  41 + },
  42 +
  43 + "elements":[
  44 + {
  45 + "type": "bar",
  46 + "colour": "#9933CC",
  47 + "text": "Page views",
  48 + "font-size": 10,
  49 + "values" : [9,6,7,9,5,7,6,9,9]
  50 + }
  51 + ],
  52 + "x_axis":{
  53 + "labels": ["January","February","March","April","May","June","July","August","Spetember"]
  54 + },
  55 + "y_axis":{
  56 + "max":20
  57 + },
  58 + "tooltip":{
  59 + "shadow":false,
  60 + "stroke":5,
  61 + "colour":"#00d000",
  62 + "background":"#d0d0ff",
  63 + "title":"{font-size: 14px; color: #905050;}",
  64 + "body":"{font-size: 10px; font-weight: bold; color: #9090ff;}"
  65 + }
  66 +}
  67 +
  68 +var data_2 = {
  69 + "title":{
  70 + "text": "Many data lines",
  71 + "style": "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}"
  72 + },
  73 +
  74 + "y_legend":{
  75 + "text": "Open Flash Chart",
  76 + "style": "{color: #736AFF; font-size: 12px;}"
  77 + },
  78 +
  79 + "elements":[
  80 + {
  81 + "type": "bar",
  82 + "alpha": 0.5,
  83 + "colour": "#9933CC",
  84 + "text": "Page views",
  85 + "font-size": 10,
  86 + "values" : [9,6,7,9,5,7,6,9,7]
  87 + },
  88 + {
  89 + "type": "bar",
  90 + "alpha": 0.5,
  91 + "colour": "#CC9933",
  92 + "text": "Page views 2",
  93 + "font-size": 10,
  94 + "values" : [9,6,7,9,5,7,6,9,7]
  95 + }
  96 + ],
  97 +
  98 + "x_axis":{
  99 + "stroke":1,
  100 + "tick_height":10,
  101 + "colour":"#d000d0",
  102 + "grid_colour":"#00ff00",
  103 + "labels": ["January","February","March","April","May","June","July","August","Spetember"]
  104 + },
  105 +
  106 + "y_axis":{
  107 + "stroke": 4,
  108 + "tick_length": 3,
  109 + "colour": "#d000d0",
  110 + "grid_colour": "#00ff00",
  111 + "offset": 0,
  112 + "max": 20
  113 + }
  114 +}
  115 +
  116 +
  117 +
  118 +</script>
  119 +
  120 +
  121 +</head>
  122 +<body>
  123 +
  124 +
  125 +<div id="my_chart"></div>
  126 +
  127 +<script type="text/javascript">
  128 +var so = new SWFObject("../open-flash-chart/open-flash-chart.swf?p=moo", "ofc", "300", "250", "9", "#FFFFFF");
  129 +so.addParam("allowScriptAccess", "always" );//"sameDomain");
  130 +so.write("my_chart");
  131 +</script>
  132 +
  133 +<a href="javascript:load()">load json</a>
  134 +
  135 +</body>
  136 +</html>
0 137 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/keys-1.txt 0 → 100644
... ... @@ -0,0 +1,41 @@
  1 +{
  2 +
  3 + "title":{
  4 + "text":"Test stacked bar charts",
  5 + "style":"{font-size:16px;}"
  6 + },
  7 +
  8 + "elements":[
  9 + {
  10 + "type": "bar_stack",
  11 + "keys": [
  12 + {"colour":"#FFB900", "text": "Key 1", "font-size": 10},
  13 + {"colour":"#ff00ff", "text": "Key 2", "font-size": 16},
  14 + {"colour":"#FFB9F0", "text": "Key 3"},
  15 + {"colour":"#FFB9F0", "font-size": 16},
  16 + {"text": "Key 5", "font-size": 16}
  17 + ],
  18 +
  19 + "values" : [
  20 + [2.5,{"val":5}],
  21 + [{"val":2.5},{"val":5},{"val":2.5}],
  22 + null,
  23 + [{"val":5},{"val":5},{"val":2},{"val":2},{"val":2,"colour":"#ff00ff"},{"val":2},{"val":2}]
  24 + ]
  25 + }
  26 + ],
  27 +
  28 + "x_axis":{
  29 + "max":4,
  30 + "steps": 1,
  31 + "labels": {
  32 + "labels": ["January","February","March","April"]
  33 + },
  34 + "stroke": 12,
  35 + "tick-height": 6
  36 + },
  37 +
  38 + "y_axis":{
  39 + "max": 20
  40 + }
  41 +}
... ...
pacotes/openflashchart/data-files/languages-chinese.txt 0 → 100644
... ... @@ -0,0 +1,39 @@
  1 +{
  2 +
  3 + "title":{
  4 + "text":"Calculate Range",
  5 + "style":"{color: #736AFF; font-size: 25;}"
  6 + },
  7 +
  8 +
  9 + "elements":[
  10 + {
  11 + "type": "line",
  12 + "colour": "#87421F",
  13 + "width": 3,
  14 + "values" : [1.5,1.69,1.88,2.06,2.21,2.34,2.43,2.48,2.49,2.47,2.40,
  15 + 2.30,2.17,2.01,1.83,1.64,1.44,1.24,1.05,0.88,0.74,0.62,
  16 + 0.54,0.50,0.50,0.54,0.61,0.72,0.86,1.03,1.22,1.41,1.61,
  17 + 1.81,1.99,2.15,2.29,2.39,2.46,2.49]
  18 + }
  19 + ],
  20 +
  21 + "y_axis":{
  22 + "max": 3,
  23 + "colour": "#FF0000",
  24 + "grid-colour": "#FF0000"
  25 + },
  26 +
  27 + "x_axis":{
  28 + "steps": 4,
  29 +
  30 + "labels":{
  31 + "visible": true,
  32 + "ro--tate": "vertical",
  33 + "steps": 2,
  34 + "labels": ["08\u5e7408\u670801\u65e5","08\u5e7408\u670802\u65e5"]
  35 + }
  36 + },
  37 +
  38 + "bg_colour": "#F8F8F8"
  39 +}
0 40 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/line-2.txt 0 → 100644
... ... @@ -0,0 +1,55 @@
  1 +{
  2 + "y_legend":{
  3 + "text": "Time of day",
  4 + "style": "{color: #736AFF;}"
  5 + },
  6 +
  7 + "elements":[
  8 + {
  9 + "type": "line",
  10 + "colour": "#736AFF",
  11 + "text": "Avg. wave height (cm)",
  12 + "font-size": 10,
  13 + "width": 2,
  14 + "dot-size": 4,
  15 + "halo-size": 0,
  16 + "values" : [
  17 + 6,6,
  18 + {"value":7, "colour":"#FF0000", "tip":"LINE<br>#val#", "dot-size":12, "halo-size": 3 },
  19 + 8,8]
  20 + },
  21 + {
  22 + "type": "line_hollow",
  23 + "colour": "#736AFF",
  24 + "text": "Avg. wave height (cm)",
  25 + "font-size": 10,
  26 + "width": 2,
  27 + "dot-size": 4,
  28 + "halo-size": 2,
  29 + "values" : [
  30 + 4,4,
  31 + {"value":5, "colour":"#FF0000", "tip":"HOLLOW<br>#val#", "dot-size":12, "halo-size": 3 },
  32 + 6,6]
  33 + },
  34 + {
  35 + "type": "line_dot",
  36 + "colour": "#736AFF",
  37 + "text": "Line Dot Key",
  38 + "font-size": 10,
  39 + "width": 2,
  40 + "dot-size": 4,
  41 + "halo-size": 1,
  42 + "tip": "global dot<br>#val#",
  43 + "values" : [
  44 + 2,2,
  45 + {"value":3, "colour":"#FF0000", "tip":"DOT<br>#val#<br>Key: #key#<br>#x_label#, #x_legend#", "dot-size":12, "halo-size": 3 },
  46 + 4,4]
  47 + }
  48 + ],
  49 +
  50 +
  51 + "y_axis":{
  52 + "max": 10
  53 + }
  54 +
  55 +}
0 56 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/line-anchor.txt 0 → 100644
... ... @@ -0,0 +1,24 @@
  1 +{
  2 + "elements":[
  3 + {
  4 + "type": "line",
  5 + "colour": "#736AFF",
  6 + "text": "Avg. wave height (cm)",
  7 + "font-size": 10,
  8 + "width": 1,
  9 + "dot-style": {
  10 + "type":"anchor", "sides":4,
  11 + "alpha":1, "hollow":true,
  12 + "background-colour":"#a44a80", "background-alpha": 0.4,
  13 + "width":1, "tip":"type = anchor<br>sides = 4<br>hollow" },
  14 +
  15 + "values" : [3,0,-3]
  16 + }
  17 + ],
  18 +
  19 + "y_axis":{
  20 + "min": -5,
  21 + "max": 5
  22 + }
  23 +
  24 +}
0 25 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/line-bow.txt 0 → 100644
... ... @@ -0,0 +1,21 @@
  1 +{
  2 + "elements":[
  3 + {
  4 + "type": "line",
  5 + "colour": "#736AFF",
  6 + "text": "Avg. wave height (cm)",
  7 + "font-size": 10,
  8 + "width": 1,
  9 + "dot-style": {
  10 + "type":"bow", "dot-size": 6, "tip":"#val#<br>#x_label#" },
  11 +
  12 + "values" : [3,0,-3]
  13 + }
  14 + ],
  15 +
  16 + "y_axis":{
  17 + "min": -5,
  18 + "max": 5
  19 + }
  20 +
  21 +}
0 22 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/line-bug-report.txt 0 → 100644
... ... @@ -0,0 +1,50 @@
  1 +{
  2 + "elements":[
  3 + {
  4 + "type":"line",
  5 + "values":[1,0,0,0,0,0,0,0,1,0,0,0,6,2,0,0,0,0,0,6,0,0,0,0],
  6 + "colour":"#ffae00",
  7 + "text":"Returning Visits",
  8 + "font-size":12,
  9 + "tip":"Returning: #val#"
  10 + },
  11 + {
  12 + "type":"line",
  13 + "values":[7,5,5,8,6,6,7,11,4,7,5,3,3,11,8,9,12,10,11,11,8,4,10,2],
  14 + "colour":"#52aa4b",
  15 + "text":"Unique Visits",
  16 + "font-size":12,
  17 + "tip":"Unique: #val#"
  18 + },
  19 + {
  20 + "type":"line",
  21 + "values":[14,26,12,20,18,20,12,68,8,8,5,3,10,32,31,16,22,33,32,36,49,8,31,5],
  22 + "colour":"#335ac9",
  23 + "text":"Total Visits",
  24 + "font-size":12,
  25 + "tip":"Total: #val#"
  26 + }
  27 + ],
  28 + "title":{
  29 + "text":"Visits data for Alan Edwardes from the 4th of June to the 5th of June",
  30 + "style":"{font-size:12px;padding-bottom:10px;text-align:left;color:#999999;}"
  31 + },
  32 + "y_axis":{
  33 + "stroke":1,
  34 + "colour":"#c6d9fd",
  35 + "grid-colour":"#dddddd",
  36 + "min":0,
  37 + "max":73,
  38 + "steps":5
  39 + },
  40 + "x_axis":{
  41 + "offset":false,
  42 + "stroke":1,
  43 + "colour":"#c6d9fd",
  44 + "grid-colour":"#dddddd",
  45 + "labels":{
  46 + "labels":["09pm","10pm","11pm","12am","01am","02am","03am","04am","05am","06am","07am","08am","09am","10am","11am","12pm","01pm","02pm","03pm","04pm","05pm","06pm","07pm","08pm"]
  47 + }
  48 + },
  49 + "bg_colour":"#ffffff"
  50 +}
0 51 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/line-dash.txt 0 → 100644
... ... @@ -0,0 +1,50 @@
  1 +{
  2 + "y_legend":{
  3 + "text": "Time of day",
  4 + "style": "{color: #736AFF;}"
  5 + },
  6 +
  7 + "elements":[
  8 + {
  9 + "type": "line",
  10 + "colour": "#736AFF",
  11 + "text": "Avg. wave height (cm)",
  12 + "font-size": 10,
  13 + "width": 2,
  14 + "dot-style": {
  15 + "type":"anchor",
  16 + "sides":3,
  17 + "width":1,
  18 + "tip":"type = anchor\nsides = 3\nhollow" },
  19 +
  20 + "line-style": {"style":"dash","on":10,"off":5},
  21 + "values" : [
  22 + 6,6,
  23 + {"value":7, "colour":"#FF0000", "tip":"LINE<br>#val#", "dot-size":12, "halo-size": 3 },
  24 + 8,8]
  25 + },
  26 + {
  27 + "type": "line",
  28 + "colour": "#736AFF",
  29 + "text": "Line Dot Key",
  30 + "font-size": 10,
  31 + "width": 2,
  32 + "dot-style": {
  33 + "type":"anchor",
  34 + "sides":3,
  35 + "width":1,
  36 + "tip":"type = anchor\nsides = 3\nhollow" },
  37 + "tip": "global dot<br>#val#",
  38 + "values" : [
  39 + 2,2,
  40 + {"value":3, "colour":"#FF0000", "tip":"DOT<br>#val#<br>Key: #key#<br>#x_label#, #x_legend#", "dot-size":12, "halo-size": 3 },
  41 + 4,4]
  42 + }
  43 + ],
  44 +
  45 +
  46 + "y_axis":{
  47 + "max": 10
  48 + }
  49 +
  50 +}
0 51 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/line-dot.txt 0 → 100644
... ... @@ -0,0 +1,45 @@
  1 +{
  2 + "y_legend":{
  3 + "text": "Time of day",
  4 + "style": "{color: #736AFF;}"
  5 + },
  6 +
  7 + "elements":[
  8 + {
  9 + "type": "line",
  10 + "colour": "#736AFF",
  11 + "text": "Avg. wave height (cm)",
  12 + "font-size": 10,
  13 + "width": 2,
  14 + "dot-style": {
  15 + "type":"solid-dot", "colour":"#a44a80", "dot-size": 6,
  16 + "tip":"#val#<br>#x_label#" },
  17 + "values" : [
  18 + 1.5,1.69,1.88,2.06,2.21,2.34,2.43,2.48,2.49,2.47,
  19 + 2.40,2.30,2.17,2.01,1.83,1.64,1.44,1.24,1.05,0.88,
  20 + 0.74,0.62,0.54,0.50,0.50,0.54,0.61,0.72,0.86,1.03,
  21 + {"value":1.22, "colour":"#FF0000"},
  22 + 1.41,1.61,1.81,1.99,2.15,2.29,2.39,2.46,2.49,
  23 + 2.48,2.44,2.35,2.23,2.08]
  24 + }
  25 + ],
  26 +
  27 + "x_axis":{
  28 + "labe--ls": {
  29 + "rotate": "vertical",
  30 + "labels":["2:00am % £","2:10","2:20","2:30","2:40","2:50",
  31 + "3:00am","3:10","3:20","3:30","3:40","3:50",
  32 + "4:00am","4:10","4:20","4:30","4:40","4:50",
  33 + "5:00am","5:10","5:20","5:30","5:40","5:50",
  34 + "6:00am","6:10","6:20","6:30","6:40","6:50",
  35 + "7:00am","7:10","7:20","7:30","7:40","7:50",
  36 + "8:00am","8:10","8:20","8:30","8:40","8:50",
  37 + "9:00am","9:10","9:20"]
  38 + }
  39 + },
  40 +
  41 + "y_axis":{
  42 + "max": 3
  43 + }
  44 +
  45 +}
0 46 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/line-hollow.txt 0 → 100644
... ... @@ -0,0 +1,48 @@
  1 +{
  2 + "y_legend":{
  3 + "text": "Time of day",
  4 + "style": "{color: #736AFF;}"
  5 + },
  6 +
  7 + "elements":[
  8 + {
  9 + "type": "line",
  10 + "colour": "#736AFF",
  11 + "text": "Avg. wave height (cm)",
  12 + "font-size": 10,
  13 + "width": 2,
  14 + "dot-style": { "ty--pe":"anchor", "sides":3, "alpha":1, "hollow":true, "background-colour":"#a44a80",
  15 + "background-alpha": 0.4, "width":1, "tip":"type = anchor\nsides = 3\nhollow" },
  16 + "values" : [
  17 + 1.5,1.69,1.88,2.06,2.21,2.34,2.43,
  18 + 2.48,2.49,2.47,2.40,2.30,2.17,2.01,
  19 + 1.83,1.64,1.44,1.24,1.05,
  20 + {"value" :0.88, "type":"anchor"},
  21 + {"value" :0.74, "type":"anchor", "colour":"#00FF00", "sides":4, "rotation":45},
  22 + 0.62,0.54,0.50,0.50,0.54,0.61,0.72,
  23 + 0.86,1.03,1.22,1.41,1.61,1.81,1.99,
  24 + 2.15,2.29,2.39,2.46,2.49,
  25 + {"value" :2.48, "type":"star", "colour":"#FF0000", "hollow":true},
  26 + {"value" :2.44, "type":"star", "colour":"#FF0000", "dot-size":10},
  27 + {"value" :2.35, "type":"dot", "colour":"#FF0000"},
  28 + {"value" :2.23, "type":"solid-dot", "colour":"#00FF00"},
  29 + {"value" :2.08, "type":"hollow-dot", "colour":"#FF00FF"}]
  30 + }
  31 + ],
  32 +
  33 + "x_axis":{
  34 + "labels--":["2:00am","2:10","2:20","2:30","2:40","2:50",
  35 + "3:00am","3:10","3:20","3:30","3:40","3:50",
  36 + "4:00am","4:10","4:20","4:30","4:40","4:50",
  37 + "5:00am","5:10","5:20","5:30","5:40","5:50",
  38 + "6:00am","6:10","6:20","6:30","6:40","6:50",
  39 + "7:00am","7:10","7:20","7:30","7:40","7:50",
  40 + "8:00am","8:10","8:20","8:30","8:40","8:50",
  41 + "9:00am","9:10","9:20"]
  42 + },
  43 +
  44 + "y_axis":{
  45 + "max": 3
  46 + }
  47 +
  48 +}
0 49 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/line-null-bug.txt 0 → 100644
... ... @@ -0,0 +1,47 @@
  1 + {
  2 + "elements": [
  3 + {
  4 + "type": "line",
  5 + "values": [
  6 + {
  7 + "value": 3
  8 + },
  9 + {
  10 + "value": null
  11 + },
  12 + {
  13 + "value": 3
  14 + }
  15 + ],
  16 + "dot-style": {
  17 + "type": "hollow-dot",
  18 + "colour": "#ff0000",
  19 + "dot-size": 4,
  20 + "halo-size": 1
  21 + }
  22 + },
  23 +
  24 + {
  25 + "type": "line",
  26 + "values": [2,null,2],
  27 + "dot-style": {
  28 + "type": "hollow-dot",
  29 + "colour": "#ff0000",
  30 + "dot-size": 4,
  31 + "halo-size": 1
  32 + }
  33 + },
  34 +
  35 + {
  36 + "type": "line",
  37 + "values": [
  38 + {"value": 4},null,4],
  39 + "dot-style": {
  40 + "type": "hollow-dot",
  41 + "colour": "#ff0000",
  42 + "dot-size": 4,
  43 + "halo-size": 1
  44 + }
  45 + }
  46 + ]
  47 + }
... ...
pacotes/openflashchart/data-files/line-on-click.txt 0 → 100644
... ... @@ -0,0 +1,17 @@
  1 +{
  2 + "elements":[
  3 + {
  4 + "type": "line",
  5 + "colour": "#736AFF",
  6 + "text": "Avg. wave height (cm)",
  7 + "font-size": 10,
  8 + "width": 2,
  9 + "dot-style": {
  10 + "on-click": "trace:http://eden"},
  11 + "values" : [
  12 + 1.5,1.69,1.88,2.06,2.21,2.34,
  13 + {"value":2.44,"colour":"#FF0000","tip":"monkies","on-click":"trace:anchor_test"},
  14 + 2.35,2.23,2.08]
  15 + }
  16 + ]
  17 +}
0 18 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/line-on-show.txt 0 → 100644
... ... @@ -0,0 +1,48 @@
  1 +{
  2 + "y_legend":{
  3 + "text": "Time of day",
  4 + "style": "{color: #736AFF;}"
  5 + },
  6 +
  7 + "elements":[
  8 + {
  9 + "type": "line",
  10 + "colour": "#736AFF",
  11 + "text": "Avg. wave height (cm)",
  12 + "font-size": 10,
  13 + "width": 1,
  14 + "dot-style": {
  15 + "type":"solid-dot", "colour":"#a44a80", "dot-size": 3,
  16 + "tip":"#val#<br>#x_label#" },
  17 + "on-show": {"type": "shrink-in", "cascade":1, "delay":0.5},
  18 + "values" : [
  19 + 1.5,1.69,1.88,2.06,2.21,2.34,2.43,
  20 + 2.48,2.49,2.47,2.40,2.30,2.17,2.01,
  21 + 1.83,1.64,1.44,1.24,1.05,0.88,0.74,
  22 + 0.62,0.54,0.50,0.50,0.54,0.61,0.72,
  23 + 0.86,1.03,1.22,1.41,1.61,1.81,1.99,
  24 + 2.15,2.29,2.39,2.46,2.49,2.48,
  25 + {"value":2.44,"colour":"#FF0000","tip":"monkies"},
  26 + 2.35,2.23,2.08]
  27 + }
  28 + ],
  29 +
  30 + "x_axis":{
  31 + "labels": {
  32 + "rotate": "vertical",
  33 + "labels":["2:00am % £","2:10","2:20","2:30","2:40","2:50",
  34 + "3:00am","3:10","3:20","3:30","3:40","3:50",
  35 + "4:00am","4:10","4:20","4:30","4:40","4:50",
  36 + "5:00am","5:10","5:20","5:30","5:40","5:50",
  37 + "6:00am","6:10","6:20","6:30","6:40","6:50",
  38 + "7:00am","7:10","7:20","7:30","7:40","7:50",
  39 + "8:00am","8:10","8:20","8:30","8:40","8:50",
  40 + "9:00am","9:10","9:20"]
  41 + }
  42 + },
  43 +
  44 + "y_axis":{
  45 + "max": 3
  46 + }
  47 +
  48 +}
0 49 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/line-star.txt 0 → 100644
... ... @@ -0,0 +1,21 @@
  1 +{
  2 + "elements":[
  3 + {
  4 + "type": "line",
  5 + "colour": "#736AFF",
  6 + "text": "Avg. wave height (cm)",
  7 + "font-size": 10,
  8 + "width": 1,
  9 + "dot-style": {
  10 + "type":"star", "dot-size": 6, "tip":"#val#<br>#x_label#" },
  11 +
  12 + "values" : [3,0,-3]
  13 + }
  14 + ],
  15 +
  16 + "y_axis":{
  17 + "min": -5,
  18 + "max": 5
  19 + }
  20 +
  21 +}
0 22 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/line.txt 0 → 100644
... ... @@ -0,0 +1,44 @@
  1 +{
  2 + "y_legend":{
  3 + "text": "Time of day",
  4 + "style": "{color: #736AFF;}"
  5 + },
  6 +
  7 + "elements":[
  8 + {
  9 + "type": "line",
  10 + "colour": "#736AFF",
  11 + "text": "Avg. wave height (cm)",
  12 + "font-size": 10,
  13 + "width": 2,
  14 + "values" : [
  15 + 1.5,1.69,1.88,2.06,2.21,2.34,2.43,
  16 + 2.48,2.49,2.47,2.40,2.30,2.17,2.01,
  17 + 1.83,1.64,1.44,1.24,1.05,0.88,0.74,
  18 + 0.62,0.54,0.50,0.50,0.54,0.61,0.72,
  19 + 0.86,1.03,1.22,1.41,1.61,1.81,1.99,
  20 + 2.15,2.29,2.39,2.46,2.49,2.48,
  21 + {"value":2.44,"colour":"#FF0000","tip":"monkies"},
  22 + 2.35,2.23,2.08]
  23 + }
  24 + ],
  25 +
  26 + "x_axis":{
  27 + "labels": {
  28 + "rotate": "vertical",
  29 + "labels":["2:00am % £","2:10","2:20","2:30","2:40","2:50",
  30 + "3:00am","3:10","3:20","3:30","3:40","3:50",
  31 + "4:00am","4:10","4:20","4:30","4:40","4:50",
  32 + "5:00am","5:10","5:20","5:30","5:40","5:50",
  33 + "6:00am","6:10","6:20","6:30","6:40","6:50",
  34 + "7:00am","7:10","7:20","7:30","7:40","7:50",
  35 + "8:00am","8:10","8:20","8:30","8:40","8:50",
  36 + "9:00am","9:10","9:20"]
  37 + }
  38 + },
  39 +
  40 + "y_axis__":{
  41 + "max": 3
  42 + }
  43 +
  44 +}
0 45 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/logo.png 0 → 100644

1.55 KB

pacotes/openflashchart/data-files/menu.txt 0 → 100644
... ... @@ -0,0 +1,50 @@
  1 +{
  2 + "y_legend":{
  3 + "text": "Time of day",
  4 + "style": "{color: #736AFF;}"
  5 + },
  6 +
  7 + "menu":{
  8 + "colour": "#E0E0ff",
  9 + "outline-colour": "#707070",
  10 + "values" : [
  11 + {
  12 + "type": "camera-icon",
  13 + "text": "Save as image"
  14 + },
  15 + {
  16 + "type": "text",
  17 + "text": "Save as image 2"
  18 + },
  19 + {
  20 + "type": "camera-icon",
  21 + "text": "3!!",
  22 + "javascript-function": "my_function"
  23 + }
  24 + ]
  25 + },
  26 +
  27 + "elements":[
  28 + {
  29 + "type": "line",
  30 + "colour": "#736AFF",
  31 + "text": "Avg. wave height (cm)",
  32 + "font-size": 10,
  33 + "width": 2,
  34 + "values" : [
  35 + 1.5,1.69,1.88,2.06,2.21,2.34,2.43,
  36 + 2.48,2.49,2.47,2.40,2.30,2.17,2.01,
  37 + 1.83,1.64,1.44,1.24,1.05,0.88,0.74,
  38 + 0.62,0.54,0.50,0.50,0.54,0.61,0.72,
  39 + 0.86,1.03,1.22,1.41,1.61,1.81,1.99,
  40 + 2.15,2.29,2.39,2.46,2.49,2.48,
  41 + {"value":2.44,"colour":"#FF0000","tip":"monkies"},
  42 + 2.35,2.23,2.08]
  43 + }
  44 + ],
  45 +
  46 + "y_axis":{
  47 + "max": 3
  48 + }
  49 +
  50 +}
0 51 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/on-show-area-drop.txt 0 → 100644
... ... @@ -0,0 +1,33 @@
  1 +{
  2 + "title":{
  3 + "text":"Volume Consumed",
  4 + "style":"font-size: 14px; font-family: Verdana; text-align: center;"},
  5 + "x_axis":{
  6 + "offset": false,
  7 + "labels":{
  8 + "steps":3,
  9 + "labels":[
  10 + "0","1","2","3","4","5",
  11 + "6","7","8","9","10","11",
  12 + "12","13","14","15","16",
  13 + "17","18","19","20","21",
  14 + "22","23","24","25","26",
  15 + "27","28","29","30","31"]
  16 + }
  17 + },
  18 + "bg_colour":"#ffffff",
  19 + "elements":[
  20 + {
  21 + "type": "area",
  22 + "colour": "#CC3399",
  23 + "line-style": {"style":"dash","on":4,"off":4},
  24 + "dot-style": {"type":"hollow-dot", "width":1, "size":2},
  25 + "values":[
  26 + 4,4.37,4.73,5.07,5.36,5.59,5.77,5.87,5.89,5.85,5.72,5.53,5.28,4.97,4.63,4.26,
  27 + 3.88,3.51,3.15,2.83,2.56,2.34,2.19,2.11,2.10,2.17,2.32,2.53,2.80,3.11,3.46,3.84],
  28 + "fill-alpha":0.5,
  29 + "width": 1,
  30 + "on-show": {"type": "drop", "cascade":0.6, "delay":0.5}
  31 + }
  32 + ]
  33 +}
0 34 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/on-show-area-explode.txt 0 → 100644
... ... @@ -0,0 +1,33 @@
  1 +{
  2 + "title":{
  3 + "text":"Volume Consumed",
  4 + "style":"font-size: 14px; font-family: Verdana; text-align: center;"},
  5 + "x_axis":{
  6 + "offset": false,
  7 + "labels":{
  8 + "steps":3,
  9 + "labels":[
  10 + "0","1","2","3","4","5",
  11 + "6","7","8","9","10","11",
  12 + "12","13","14","15","16",
  13 + "17","18","19","20","21",
  14 + "22","23","24","25","26",
  15 + "27","28","29","30","31"]
  16 + }
  17 + },
  18 + "bg_colour":"#ffffff",
  19 + "elements":[
  20 + {
  21 + "type": "area",
  22 + "colour": "#CC3399",
  23 + "line-style": {"style":"dash","on":4,"off":4},
  24 + "dot-style": {"type":"hollow-dot", "width":1, "size":2},
  25 + "values":[
  26 + 4,4.37,4.73,5.07,5.36,5.59,5.77,5.87,5.89,5.85,5.72,5.53,5.28,4.97,4.63,4.26,
  27 + 3.88,3.51,3.15,2.83,2.56,2.34,2.19,2.11,2.10,2.17,2.32,2.53,2.80,3.11,3.46,3.84],
  28 + "fill-alpha":0.5,
  29 + "width": 1,
  30 + "on-show": {"type": "explode", "cascade":0.6, "delay":0.5}
  31 + }
  32 + ]
  33 +}
0 34 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/on-show-area-fade-in.txt 0 → 100644
... ... @@ -0,0 +1,33 @@
  1 +{
  2 + "title":{
  3 + "text":"Volume Consumed",
  4 + "style":"font-size: 14px; font-family: Verdana; text-align: center;"},
  5 + "x_axis":{
  6 + "offset": false,
  7 + "labels":{
  8 + "steps":3,
  9 + "labels":[
  10 + "0","1","2","3","4","5",
  11 + "6","7","8","9","10","11",
  12 + "12","13","14","15","16",
  13 + "17","18","19","20","21",
  14 + "22","23","24","25","26",
  15 + "27","28","29","30","31"]
  16 + }
  17 + },
  18 + "bg_colour":"#ffffff",
  19 + "elements":[
  20 + {
  21 + "type": "area",
  22 + "colour": "#CC3399",
  23 + "line-style": {"style":"dash","on":4,"off":4},
  24 + "dot-style": {"type":"hollow-dot", "width":1, "size":2},
  25 + "values":[
  26 + 4,4.37,4.73,5.07,5.36,5.59,5.77,5.87,5.89,5.85,5.72,5.53,5.28,4.97,4.63,4.26,
  27 + 3.88,3.51,3.15,2.83,2.56,2.34,2.19,2.11,2.10,2.17,2.32,2.53,2.80,3.11,3.46,3.84],
  28 + "fill-alpha":0.5,
  29 + "width": 1,
  30 + "on-show": {"type": "fade-in", "cascade":0.6, "delay":0.5}
  31 + }
  32 + ]
  33 +}
0 34 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/on-show-area-mid-slide.txt 0 → 100644
... ... @@ -0,0 +1,33 @@
  1 +{
  2 + "title":{
  3 + "text":"Volume Consumed",
  4 + "style":"font-size: 14px; font-family: Verdana; text-align: center;"},
  5 + "x_axis":{
  6 + "offset": false,
  7 + "labels":{
  8 + "steps":3,
  9 + "labels":[
  10 + "0","1","2","3","4","5",
  11 + "6","7","8","9","10","11",
  12 + "12","13","14","15","16",
  13 + "17","18","19","20","21",
  14 + "22","23","24","25","26",
  15 + "27","28","29","30","31"]
  16 + }
  17 + },
  18 + "bg_colour":"#ffffff",
  19 + "elements":[
  20 + {
  21 + "type": "area",
  22 + "colour": "#CC3399",
  23 + "line-style": {"style":"dash","on":4,"off":4},
  24 + "dot-style": {"type":"hollow-dot", "width":1, "dot-size":2},
  25 + "values":[
  26 + 4,4.37,4.73,5.07,5.36,5.59,5.77,5.87,5.89,5.85,5.72,5.53,5.28,4.97,4.63,4.26,
  27 + 3.88,3.51,3.15,2.83,2.56,2.34,2.19,2.11,2.10,2.17,2.32,2.53,2.80,3.11,3.46,3.84],
  28 + "fill-alpha":0.5,
  29 + "width": 1,
  30 + "on-show": {"type": "mid-slide", "cascade":0.6, "delay":0.5}
  31 + }
  32 + ]
  33 +}
0 34 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/on-show-area-pop-up.txt 0 → 100644
... ... @@ -0,0 +1,33 @@
  1 +{
  2 + "title":{
  3 + "text":"Volume Consumed",
  4 + "style":"font-size: 14px; font-family: Verdana; text-align: center;"},
  5 + "x_axis":{
  6 + "offset": false,
  7 + "labels":{
  8 + "steps":3,
  9 + "labels":[
  10 + "0","1","2","3","4","5",
  11 + "6","7","8","9","10","11",
  12 + "12","13","14","15","16",
  13 + "17","18","19","20","21",
  14 + "22","23","24","25","26",
  15 + "27","28","29","30","31"]
  16 + }
  17 + },
  18 + "bg_colour":"#ffffff",
  19 + "elements":[
  20 + {
  21 + "type": "area",
  22 + "colour": "#CC3399",
  23 + "line-style": {"style":"dash","on":4,"off":4},
  24 + "dot-style": {"type":"hollow-dot", "width":1, "size":2},
  25 + "values":[
  26 + 4,4.37,4.73,5.07,5.36,5.59,5.77,5.87,5.89,5.85,5.72,5.53,5.28,4.97,4.63,4.26,
  27 + 3.88,3.51,3.15,2.83,2.56,2.34,2.19,2.11,2.10,2.17,2.32,2.53,2.80,3.11,3.46,3.84],
  28 + "fill-alpha":0.5,
  29 + "width": 1,
  30 + "on-show": {"type": "pop-up", "cascade":0.6, "delay":0.5}
  31 + }
  32 + ]
  33 +}
0 34 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/on-show-area-shrink-in.txt 0 → 100644
... ... @@ -0,0 +1,33 @@
  1 +{
  2 + "title":{
  3 + "text":"Volume Consumed",
  4 + "style":"font-size: 14px; font-family: Verdana; text-align: center;"},
  5 + "x_axis":{
  6 + "offset": false,
  7 + "labels":{
  8 + "steps":3,
  9 + "labels":[
  10 + "0","1","2","3","4","5",
  11 + "6","7","8","9","10","11",
  12 + "12","13","14","15","16",
  13 + "17","18","19","20","21",
  14 + "22","23","24","25","26",
  15 + "27","28","29","30","31"]
  16 + }
  17 + },
  18 + "bg_colour":"#ffffff",
  19 + "elements":[
  20 + {
  21 + "type": "area",
  22 + "colour": "#CC3399",
  23 + "line-style": {"style":"dash","on":4,"off":4},
  24 + "dot-style": {"type":"hollow-dot", "width":1, "size":2},
  25 + "values":[
  26 + 4,4.37,4.73,5.07,5.36,5.59,5.77,5.87,5.89,5.85,5.72,5.53,5.28,4.97,4.63,4.26,
  27 + 3.88,3.51,3.15,2.83,2.56,2.34,2.19,2.11,2.10,2.17,2.32,2.53,2.80,3.11,3.46,3.84],
  28 + "fill-alpha":0.5,
  29 + "width": 1,
  30 + "on-show": {"type": "shrink-in", "cascade":1.6, "delay":0.2}
  31 + }
  32 + ]
  33 +}
0 34 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/on-show-line.txt 0 → 100644
... ... @@ -0,0 +1,48 @@
  1 +{
  2 + "y_legend":{
  3 + "text": "Time of day",
  4 + "style": "{color: #736AFF;}"
  5 + },
  6 +
  7 + "elements":[
  8 + {
  9 + "type": "line",
  10 + "colour": "#736AFF",
  11 + "text": "Avg. wave height (cm)",
  12 + "font-size": 10,
  13 + "width": 1,
  14 + "dot-style": {
  15 + "type":"solid-dot", "colour":"#a44a80", "dot-size": 3,
  16 + "tip":"#val#<br>#x_label#" },
  17 + "on-show": {"type": "pop-up", "cascade":1, "delay":0.5},
  18 + "values" : [
  19 + 1.5,1.69,1.88,2.06,2.21,2.34,2.43,
  20 + 2.48,2.49,2.47,2.40,2.30,2.17,2.01,
  21 + 1.83,1.64,1.44,1.24,1.05,0.88,0.74,
  22 + 0.62,0.54,0.50,0.50,0.54,0.61,0.72,
  23 + 0.86,1.03,1.22,1.41,1.61,1.81,1.99,
  24 + 2.15,2.29,2.39,2.46,2.49,2.48,
  25 + {"value":2.44,"colour":"#FF0000","tip":"monkies"},
  26 + 2.35,2.23,2.08]
  27 + }
  28 + ],
  29 +
  30 + "x_axis":{
  31 + "labels": {
  32 + "rotate": "vertical",
  33 + "labels":["2:00am % £","2:10","2:20","2:30","2:40","2:50",
  34 + "3:00am","3:10","3:20","3:30","3:40","3:50",
  35 + "4:00am","4:10","4:20","4:30","4:40","4:50",
  36 + "5:00am","5:10","5:20","5:30","5:40","5:50",
  37 + "6:00am","6:10","6:20","6:30","6:40","6:50",
  38 + "7:00am","7:10","7:20","7:30","7:40","7:50",
  39 + "8:00am","8:10","8:20","8:30","8:40","8:50",
  40 + "9:00am","9:10","9:20"]
  41 + }
  42 + },
  43 +
  44 + "y_axis":{
  45 + "max": 3
  46 + }
  47 +
  48 +}
0 49 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/on-show-scatter-explode.txt 0 → 100644
... ... @@ -0,0 +1,66 @@
  1 +{
  2 +
  3 + "elements":[
  4 + {
  5 + "type": "scatter",
  6 + "colour": "#FFB900",
  7 + "text": "Avg",
  8 + "font-size": 10,
  9 + "dot-style": {"type":"solid-dot"},
  10 + "on-show": {"type": "explode", "cascade":0.6, "delay":1},
  11 + "values" : [
  12 + {"x":-5, "y":-5 },
  13 + {"x":0, "y":0 },
  14 + {"x":5, "y":5, "dot-size":20},
  15 + {"x":5, "y":-5, "dot-size":5},
  16 + {"x":-5, "y":5, "dot-size":5},
  17 + {"x":0.5, "y":1, "dot-size":15, "tip": "moooo"}
  18 + ]
  19 + },
  20 + {
  21 + "type": "scatter",
  22 + "colour": "#B900FF",
  23 + "text": "No 2",
  24 + "font-size": 10,
  25 + "dot-style": {"type":"hollow-dot", "width":1, "size":2},
  26 + "on-show": {"type": "explode", "cascade":0.6, "delay":0.5},
  27 + "values" : [
  28 + {"x":-5, "y":-3},
  29 + {"x":0, "y":0.5}
  30 + ]
  31 + },
  32 + {
  33 + "type": "line",
  34 + "colour": "#B9FF00",
  35 + "text": "Line",
  36 + "font-size": 10,
  37 + "values" : [3,3,3,3,3]
  38 + }
  39 +
  40 + ],
  41 +
  42 + "x_axis":{
  43 + "min": -5,
  44 + "max": 5,
  45 + "labels":["mon","tue","wed","thur","fri","sat","sun"]
  46 + },
  47 +
  48 + "y_axis":{
  49 + "min": -5,
  50 + "max": 5
  51 + },
  52 +
  53 + "y_legend":{
  54 + "text": "Time of day",
  55 + "style": "{font-size: 20px; color: #736AFF;}"
  56 + }
  57 +}
  58 +
  59 +
  60 +/*
  61 +&bg_colour=#DFFFDF&
  62 +&x_label_style=12,#9933CC&
  63 +&y_label_style=12,#9933CC&
  64 +&tool_tip=x:#x_label#<br>y:#val#&
  65 +*/
  66 +
... ...
pacotes/openflashchart/data-files/pie-1.txt 0 → 100644
... ... @@ -0,0 +1,23 @@
  1 +{
  2 +
  3 + "title":{
  4 + "text":"Pie for you sir?",
  5 + "style":"{font-size: 30px;}"
  6 + },
  7 +
  8 + "elements":[
  9 + {
  10 + "type": "pie",
  11 + "colours": ["#d01f3c","#356aa0","#C79810"],
  12 + "alpha": 0.6,
  13 + "border": 2,
  14 + "start-angle": 35,
  15 + "values" : [
  16 + 2,
  17 + 3,
  18 + {"value":6.5,"label":"hello (#val#)", "tip":"99 bottles of beer","on-click":"http://eden"},
  19 + {"value":6.5,"on-click":"my_function"}
  20 + ]
  21 + }
  22 + ]
  23 +}
0 24 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/pie-2.txt 0 → 100644
... ... @@ -0,0 +1,18 @@
  1 +{
  2 +
  3 + "elements":[
  4 + {
  5 + "type": "pie",
  6 + "colours": ["#d01f3c","#356aa0","#C79810"],
  7 + "alpha": 0.2,
  8 + "border": 2,
  9 + "animate": [ { "type": "fade" }],
  10 + "start-angle": 45,
  11 + "tip": "#val#<br>#total#<br>#percent#<br>#label#",
  12 + "gradient-fill" : true,
  13 + "label-colour": "#0000d0",
  14 + "values" :
  15 + [10,10,{"value":100,"label":"hello (#val#)","font-size":20,"colour":"#00FF00","label-colour":"#00FFFF"},10]
  16 + }
  17 + ]
  18 +}
0 19 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/pie-3.txt 0 → 100644
... ... @@ -0,0 +1,18 @@
  1 +{
  2 + "bg_colour": "#ffffff",
  3 + "elements":[
  4 + {
  5 + "type": "pie",
  6 + "tip": "#label#<br>$#val# (#percent#)",
  7 + "colours": ["#00ff00","#ff0000","#0000ff"],
  8 + "alpha": 0.3,
  9 + "animate": [ { "type": "fade" }],
  10 + "start-angle": 90,
  11 + "gradient-fill": true,
  12 + "no-labe-ls": true,
  13 + "values": [
  14 + {"value":13400,"label":"Income"},{"value":9344,"label":"Expense"},{"value":4066,"label":"Profit"}
  15 + ]
  16 + }
  17 + ]
  18 +}
0 19 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/pie-4.txt 0 → 100644
... ... @@ -0,0 +1,31 @@
  1 +{
  2 + "elements" : [
  3 + {
  4 + "tip" : "#val# of #total# messages<br>#percent#",
  5 + "colours" : [
  6 + "#000000",
  7 + "#4693B8"
  8 + ],
  9 + "alpha" : "0.8",
  10 + "start_angle" : 135,
  11 + "animate" : false,
  12 + "values" : [
  13 + {
  14 + "value" : 135,
  15 + "label" : "spam deliveries"
  16 + },
  17 + {
  18 + "value" : 103,
  19 + "label" : "normal deliveries"
  20 + }
  21 + ],
  22 + "type" : "pie",
  23 + "border" : "2"
  24 + }
  25 + ],
  26 + "bg_colour" : "#FAFAFA",
  27 + "title" : {
  28 + "text" : "mail distribution for b@b.com",
  29 + "style" : "{font-size: 14px; color:#0000ff; font-family: Verdana; text-align: center;}"
  30 + }
  31 +}
0 32 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/pie-bug-green.txt 0 → 100644
... ... @@ -0,0 +1,74 @@
  1 +{
  2 + "bg_colour": "#ffffff",
  3 + "elements": [
  4 + {
  5 + "alpha": 0.5,
  6 + "animate":[{"type":"bounce","distance":5},{"type":"fade"}],
  7 + "border": 2,
  8 + "colours": [
  9 + "#0247fe",
  10 + "#3d01a4",
  11 + "#8601af",
  12 + "#a7194b",
  13 + "#fe2712",
  14 + "#fd5308",
  15 + "#fb9902",
  16 + "#fabc02",
  17 + "#fefe33",
  18 + "#d0ea2b",
  19 + "#66b032",
  20 + "#0392ce"
  21 + ],
  22 + "label-colour": "#432baf",
  23 + "start-angle": 0,
  24 + "tip": "#val# of #total#<br>#percent# of 100%",
  25 + "type": "pie",
  26 + "values": [
  27 + {
  28 + "label": "New Zealand",
  29 + "value": 52236
  30 + },
  31 + {
  32 + "label": "Vodafone Mobile",
  33 + "value": 9560
  34 + },
  35 + {
  36 + "label": "Airedale Street",
  37 + "value": 6367
  38 + },
  39 + {
  40 + "label": "Ellerslie",
  41 + "value": 5870
  42 + },
  43 + {
  44 + "label": "Auckland LICA",
  45 + "value": 2627
  46 + },
  47 + {
  48 + "label": "Manukau City",
  49 + "value": 2360
  50 + },
  51 + {
  52 + "label": "Telecom Mobile",
  53 + "value": 2068
  54 + },
  55 + {
  56 + "label": "Remuera",
  57 + "value": 1747
  58 + },
  59 + {
  60 + "label": "Henderson",
  61 + "value": 1231
  62 + },
  63 + {
  64 + "label": "East Tamaki / Otara",
  65 + "value": 1187
  66 + }
  67 + ]
  68 + }
  69 + ],
  70 + "title": {
  71 + "style": "{color: #888888; font-size: 16; text-align: center}",
  72 + "text": "Top 10 Caller Locations by OGA"
  73 + }
  74 +}
0 75 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/pie-colours.txt 0 → 100644
... ... @@ -0,0 +1,25 @@
  1 +{
  2 +
  3 + "title":{
  4 + "text":"Pie for you sir?",
  5 + "style":"{font-size: 30px;}"
  6 + },
  7 + "bg_colour": "#000000",
  8 +
  9 + "elements":[
  10 + {
  11 + "type": "pie",
  12 + "colours": ["#d01f3c","#356aa0","#C79810"],
  13 + "alpha": 0.6,
  14 + "border": 2,
  15 + "ani-mate": 0,
  16 + "start-angle": 35,
  17 + "values" : [
  18 + 2,
  19 + 3,
  20 + {"value":65,"label":"hello (#val#)", "tip":"99 bottles of beer","on-click":"http://eden"},
  21 + {"value":65,"on-click":"my_function"}
  22 + ]
  23 + }
  24 + ]
  25 +}
0 26 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/pie-fixed-radius.txt 0 → 100644
... ... @@ -0,0 +1,24 @@
  1 +{
  2 +
  3 + "title":{
  4 + "text":"Pie for you sir?",
  5 + "style":"{font-size: 30px;}"
  6 + },
  7 + "bg_colour": "#000000",
  8 +
  9 + "elements":[
  10 + {
  11 + "type": "pie",
  12 + "colours": ["#d01f3c","#356aa0","#C79810"],
  13 + "alpha": 0.6,
  14 + "start-angle": 35,
  15 + "radius": 55,
  16 + "values" : [
  17 + 2,
  18 + 3,
  19 + {"value":65,"label":"hello (#val#)", "tip":"99 bottles of beer","on-click":"http://eden"},
  20 + {"value":65,"on-click":"my_function"}
  21 + ]
  22 + }
  23 + ]
  24 +}
0 25 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/pie-label-colours.txt 0 → 100644
... ... @@ -0,0 +1,214 @@
  1 +{
  2 + "elements" : [
  3 + {
  4 + "tip" : "#val# of #total#<br>#percent#\npie radius = #radius#",
  5 +
  6 + "colours" : [
  7 + "0x336699", "0x88AACC", "0x999933", "0x666699",
  8 + "0xCC9933", "0x006666", "0x3399FF", "0x993300",
  9 + "0xAAAA77", "0x666666", "0xFFCC66", "0x6699CC",
  10 + "0x663366", "0x9999CC", "0xAAAAAA", "0x669999",
  11 + "0xBBBB55", "0xCC6600", "0x9999FF", "0x0066CC",
  12 + "0x99CCCC", "0x999999", "0xFFCC00", "0x009999",
  13 + "0x99CC33", "0xFF9900", "0x999966", "0x66CCCC",
  14 + "0x339966", "0xCCCC33" ],
  15 +
  16 + "alpha" : 0.2,
  17 + "start_angle" : 135,
  18 + "radius":200,
  19 + "no-labels":false,
  20 + "ani--mate" : true,
  21 + //"label-colour":0, // leave out or set to null for auto-colour labels
  22 + "values" : [
  23 + {
  24 + "value" : 135,
  25 + "label" : "Label Num 1 - click to google",
  26 + "label-colour":"0xFF0000", // Override the label colour
  27 + "on-click":"http://www.google.com",
  28 + "animate":[{"type":"bounce","distance":5}]
  29 + },
  30 + {
  31 + "value" : 135,
  32 + "label" : "Label Num 2",
  33 + "animate":[{"type":"bounce","distance":5}]
  34 + },
  35 + {
  36 + "value" : 135,
  37 + "label" : "Label Num 3",
  38 + "animate":[{"type":"bounce","distance":5},{"type":"fade"}]
  39 + },
  40 + {
  41 + "value" : 135,
  42 + "label" : "" // Do not display a label for this slice
  43 + },
  44 + {
  45 + "value" : 135,
  46 + "label" : ""
  47 + },
  48 + {
  49 + "value" : 135,
  50 + "label" : "Label Num 6"
  51 + },
  52 + {
  53 + "value" : 135,
  54 + "label" : "Label Num 7"
  55 + },
  56 + {
  57 + "value" : 4,
  58 + "label" : "small slice 8"
  59 + },
  60 + {
  61 + "value" : 4,
  62 + "label" : "small slice 9"
  63 + },
  64 + {
  65 + "value" : 4,
  66 + "label" : "small slice 10"
  67 + },
  68 + {
  69 + "value" : 4,
  70 + "label" : "small slice 11"
  71 + },
  72 + {
  73 + "value" : 4,
  74 + "label" : "small slice 12"
  75 + },
  76 + {
  77 + "value" : 135,
  78 + "label" : "Label Num 13"
  79 + },
  80 + {
  81 + "value" : 135,
  82 + "label" : "Label Num 14"
  83 + },
  84 + {
  85 + "value" : 135,
  86 + "label" : "Label Num 15"
  87 + },
  88 + {
  89 + "value" : 135,
  90 + "label" : "Label Num 16"
  91 + },
  92 + {
  93 + "value" : 135,
  94 + "label" : "Label Num 17"
  95 + },
  96 + {
  97 + "value" : 135,
  98 + "label" : "Label Num 18"
  99 + },
  100 + {
  101 + "value" : 135,
  102 + "label" : "Label Num 19"
  103 + },
  104 + {
  105 + "value" : 135,
  106 + "label" : "Label Num 20"
  107 + },
  108 + {
  109 + "value" : 135,
  110 + "label" : "Label Num 21"
  111 + },
  112 + {
  113 + "value" : 135,
  114 + "label" : "Label Num 22"
  115 + },
  116 + {
  117 + "value" : 135,
  118 + "label" : "Label Num 23"
  119 + },
  120 + {
  121 + "value" : 135,
  122 + "label" : "Label Num 24"
  123 + },
  124 + {
  125 + "value" : 135,
  126 + "label" : "Label Num 25"
  127 + },
  128 + {
  129 + "value" : 135,
  130 + "label" : "Label Num 26"
  131 + },
  132 + {
  133 + "value" : 135,
  134 + "label" : "Label Num 27"
  135 + },
  136 + {
  137 + "value" : 135,
  138 + "label" : "Label Num 28"
  139 + },
  140 + {
  141 + "value" : 135,
  142 + "label" : "Label Num 29"
  143 + },
  144 + {
  145 + "value" : 135,
  146 + "label" : "Label Num 30"
  147 + },
  148 + {
  149 + "value" : 135,
  150 + "label" : "Label Num 31"
  151 + },
  152 + {
  153 + "value" : 0,
  154 + "label" : "zero slice 32"
  155 + },
  156 + {
  157 + "value" : 0,
  158 + "label" : "zero slice 33"
  159 + },
  160 + {
  161 + "value" : 0,
  162 + "label" : "zero slice 34"
  163 + },
  164 + {
  165 + "value" : 135,
  166 + "label" : "Label Num 35"
  167 + },
  168 + {
  169 + "value" : 135,
  170 + "label" : "Label Num 36"
  171 + },
  172 + {
  173 + "value" : 135,
  174 + "label" : "Label Num 37"
  175 + },
  176 + {
  177 + "value" : 135,
  178 + "label" : "Label Num 38"
  179 + },
  180 + {
  181 + "value" : 135,
  182 + "label" : ""
  183 + },
  184 + {
  185 + "value" : 135,
  186 + "label" : "Label Num 40"
  187 + },
  188 + {
  189 + "value" : 135,
  190 + "label" : ""
  191 + },
  192 + {
  193 + "value" : 135,
  194 + "label" : "Label Num 42"
  195 + },
  196 + {
  197 + "value" : 135,
  198 + "label" : "Label Num 43"
  199 + },
  200 + {
  201 + "value" : 103,
  202 + "label" : "Label Num 44"
  203 + }
  204 + ],
  205 + "type" : "pie",
  206 + "border" : "2"
  207 + }
  208 + ],
  209 + "bg_colour" : "#FAFAFA",
  210 + "title" : {
  211 + "text" : "Auto-size Pie and Label Adjustment",
  212 + "style" : "{font-size: 14px; color:#0000ff; font-family: Verdana; text-align: center;}"
  213 + }
  214 +}
0 215 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/pie-many-slices-fixed.txt 0 → 100644
... ... @@ -0,0 +1,201 @@
  1 +{
  2 + "elements" : [
  3 + {
  4 + "tip" : "#val# of #total# messages<br>#percent#\npie radius = #radius#",
  5 + "colours" : [
  6 + "#000000",
  7 + "#4693B8"
  8 + ],
  9 + "alpha" : "0.8",
  10 + "start_angle" : 135,
  11 + "radius":200,
  12 + "no-labels":false,
  13 + "animate" : false,
  14 + "values" : [
  15 + {
  16 + "value" : 135,
  17 + "label" : "Label Num 1"
  18 + },
  19 + {
  20 + "value" : 135,
  21 + "label" : "Label Num 2"
  22 + },
  23 + {
  24 + "value" : 135,
  25 + "label" : "Label Num 3"
  26 + },
  27 + {
  28 + "value" : 135,
  29 + "label" : ""
  30 + },
  31 + {
  32 + "value" : 135,
  33 + "label" : ""
  34 + },
  35 + {
  36 + "value" : 135,
  37 + "label" : "Label Num 6"
  38 + },
  39 + {
  40 + "value" : 135,
  41 + "label" : "Label Num 7"
  42 + },
  43 + {
  44 + "value" : 4,
  45 + "label" : "small slice 1"
  46 + },
  47 + {
  48 + "value" : 4,
  49 + "label" : "small slice 2"
  50 + },
  51 + {
  52 + "value" : 4,
  53 + "label" : "small slice 3"
  54 + },
  55 + {
  56 + "value" : 4,
  57 + "label" : "small slice4 "
  58 + },
  59 + {
  60 + "value" : 4,
  61 + "label" : "small slice 5"
  62 + },
  63 + {
  64 + "value" : 135,
  65 + "label" : "Label Num 8"
  66 + },
  67 + {
  68 + "value" : 135,
  69 + "label" : "Label Num 9"
  70 + },
  71 + {
  72 + "value" : 135,
  73 + "label" : "Label Num 10"
  74 + },
  75 + {
  76 + "value" : 135,
  77 + "label" : "Label Num 11"
  78 + },
  79 + {
  80 + "value" : 135,
  81 + "label" : "Label Num 12"
  82 + },
  83 + {
  84 + "value" : 135,
  85 + "label" : "Label Num 13"
  86 + },
  87 + {
  88 + "value" : 135,
  89 + "label" : "Label Num 14"
  90 + },
  91 + {
  92 + "value" : 135,
  93 + "label" : "Label Num 15"
  94 + },
  95 + {
  96 + "value" : 135,
  97 + "label" : "Label Num 16"
  98 + },
  99 + {
  100 + "value" : 135,
  101 + "label" : "Label Num 17"
  102 + },
  103 + {
  104 + "value" : 135,
  105 + "label" : "Label Num 18"
  106 + },
  107 + {
  108 + "value" : 135,
  109 + "label" : "Label Num 19"
  110 + },
  111 + {
  112 + "value" : 135,
  113 + "label" : "Label Num 20"
  114 + },
  115 + {
  116 + "value" : 135,
  117 + "label" : "Label Num 21"
  118 + },
  119 + {
  120 + "value" : 135,
  121 + "label" : "Label Num 22"
  122 + },
  123 + {
  124 + "value" : 135,
  125 + "label" : "Label Num 23"
  126 + },
  127 + {
  128 + "value" : 135,
  129 + "label" : "Label Num 24"
  130 + },
  131 + {
  132 + "value" : 135,
  133 + "label" : "Label Num 25"
  134 + },
  135 + {
  136 + "value" : 135,
  137 + "label" : "Label Num 26"
  138 + },
  139 + {
  140 + "value" : 135,
  141 + "label" : "Label Num 27"
  142 + },
  143 + {
  144 + "value" : 135,
  145 + "label" : "Label Num 28"
  146 + },
  147 + {
  148 + "value" : 135,
  149 + "label" : "Label Num 29"
  150 + },
  151 + {
  152 + "value" : 135,
  153 + "label" : "Label Num 30"
  154 + },
  155 + {
  156 + "value" : 135,
  157 + "label" : "Label Num 31"
  158 + },
  159 + {
  160 + "value" : 135,
  161 + "label" : "Label Num 32"
  162 + },
  163 + {
  164 + "value" : 135,
  165 + "label" : "Label Num 33"
  166 + },
  167 + {
  168 + "value" : 135,
  169 + "label" : ""
  170 + },
  171 + {
  172 + "value" : 135,
  173 + "label" : "Label Num 35"
  174 + },
  175 + {
  176 + "value" : 135,
  177 + "label" : ""
  178 + },
  179 + {
  180 + "value" : 135,
  181 + "label" : "Label Num 36"
  182 + },
  183 + {
  184 + "value" : 135,
  185 + "label" : "Label Num 37"
  186 + },
  187 + {
  188 + "value" : 103,
  189 + "label" : "Label Num 38"
  190 + }
  191 + ],
  192 + "type" : "pie",
  193 + "border" : "2"
  194 + }
  195 + ],
  196 + "bg_colour" : "#FAFAFA",
  197 + "title" : {
  198 + "text" : "Fixed Radius Pie and Auto Label Adjustment",
  199 + "style" : "{font-size: 14px; color:#0000ff; font-family: Verdana; text-align: center;}"
  200 + }
  201 +}
0 202 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/pie-many-slices.txt 0 → 100644
... ... @@ -0,0 +1,201 @@
  1 +{
  2 + "elements" : [
  3 + {
  4 + "tip" : "#val# of #total# messages<br>#percent#\npie radius = #radius#",
  5 + "colours" : [
  6 + "#000000",
  7 + "#4693B8"
  8 + ],
  9 + "alpha" : "0.8",
  10 + "start_angle" : 135,
  11 +// "radius":200,
  12 + "no-labels":false,
  13 + "animate" : false,
  14 + "values" : [
  15 + {
  16 + "value" : 135,
  17 + "label" : "Label Num 1"
  18 + },
  19 + {
  20 + "value" : 135,
  21 + "label" : "Label Num 2"
  22 + },
  23 + {
  24 + "value" : 135,
  25 + "label" : "Label Num 3"
  26 + },
  27 + {
  28 + "value" : 135,
  29 + "label" : ""
  30 + },
  31 + {
  32 + "value" : 135,
  33 + "label" : ""
  34 + },
  35 + {
  36 + "value" : 135,
  37 + "label" : "Label Num 6"
  38 + },
  39 + {
  40 + "value" : 135,
  41 + "label" : "Label Num 7"
  42 + },
  43 + {
  44 + "value" : 4,
  45 + "label" : "small slice 1"
  46 + },
  47 + {
  48 + "value" : 4,
  49 + "label" : "small slice 2"
  50 + },
  51 + {
  52 + "value" : 4,
  53 + "label" : "small slice 3"
  54 + },
  55 + {
  56 + "value" : 4,
  57 + "label" : "small slice4 "
  58 + },
  59 + {
  60 + "value" : 4,
  61 + "label" : "small slice 5"
  62 + },
  63 + {
  64 + "value" : 135,
  65 + "label" : "Label Num 8"
  66 + },
  67 + {
  68 + "value" : 135,
  69 + "label" : "Label Num 9"
  70 + },
  71 + {
  72 + "value" : 135,
  73 + "label" : "Label Num 10"
  74 + },
  75 + {
  76 + "value" : 135,
  77 + "label" : "Label Num 11"
  78 + },
  79 + {
  80 + "value" : 135,
  81 + "label" : "Label Num 12"
  82 + },
  83 + {
  84 + "value" : 135,
  85 + "label" : "Label Num 13"
  86 + },
  87 + {
  88 + "value" : 135,
  89 + "label" : "Label Num 14"
  90 + },
  91 + {
  92 + "value" : 135,
  93 + "label" : "Label Num 15"
  94 + },
  95 + {
  96 + "value" : 135,
  97 + "label" : "Label Num 16"
  98 + },
  99 + {
  100 + "value" : 135,
  101 + "label" : "Label Num 17"
  102 + },
  103 + {
  104 + "value" : 135,
  105 + "label" : "Label Num 18"
  106 + },
  107 + {
  108 + "value" : 135,
  109 + "label" : "Label Num 19"
  110 + },
  111 + {
  112 + "value" : 135,
  113 + "label" : "Label Num 20"
  114 + },
  115 + {
  116 + "value" : 135,
  117 + "label" : "Label Num 21"
  118 + },
  119 + {
  120 + "value" : 135,
  121 + "label" : "Label Num 22"
  122 + },
  123 + {
  124 + "value" : 135,
  125 + "label" : "Label Num 23"
  126 + },
  127 + {
  128 + "value" : 135,
  129 + "label" : "Label Num 24"
  130 + },
  131 + {
  132 + "value" : 135,
  133 + "label" : "Label Num 25"
  134 + },
  135 + {
  136 + "value" : 135,
  137 + "label" : "Label Num 26"
  138 + },
  139 + {
  140 + "value" : 135,
  141 + "label" : "Label Num 27"
  142 + },
  143 + {
  144 + "value" : 135,
  145 + "label" : "Label Num 28"
  146 + },
  147 + {
  148 + "value" : 135,
  149 + "label" : "Label Num 29"
  150 + },
  151 + {
  152 + "value" : 135,
  153 + "label" : "Label Num 30"
  154 + },
  155 + {
  156 + "value" : 135,
  157 + "label" : "Label Num 31"
  158 + },
  159 + {
  160 + "value" : 135,
  161 + "label" : "Label Num 32"
  162 + },
  163 + {
  164 + "value" : 135,
  165 + "label" : "Label Num 33"
  166 + },
  167 + {
  168 + "value" : 135,
  169 + "label" : ""
  170 + },
  171 + {
  172 + "value" : 135,
  173 + "label" : "Label Num 35"
  174 + },
  175 + {
  176 + "value" : 135,
  177 + "label" : ""
  178 + },
  179 + {
  180 + "value" : 135,
  181 + "label" : "Label Num 36"
  182 + },
  183 + {
  184 + "value" : 135,
  185 + "label" : "Label Num 37"
  186 + },
  187 + {
  188 + "value" : 103,
  189 + "label" : "Label Num 38"
  190 + }
  191 + ],
  192 + "type" : "pie",
  193 + "border" : "2"
  194 + }
  195 + ],
  196 + "bg_colour" : "#FAFAFA",
  197 + "title" : {
  198 + "text" : "Auto-size Pie and Label Adjustment",
  199 + "style" : "{font-size: 14px; color:#0000ff; font-family: Verdana; text-align: center;}"
  200 + }
  201 +}
0 202 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/radar-2.txt 0 → 100644
... ... @@ -0,0 +1,43 @@
  1 +{
  2 + "title":{
  3 + "text":"Pie for you sir?",
  4 + "style":"{font-size: 30px;}"
  5 + },
  6 +
  7 + "elements":[
  8 + {
  9 + "type": "line",
  10 + "colour": "#736AFF",
  11 + "text": "Avg. wave height (cm)",
  12 + "font-size": 10,
  13 + "width": 2,
  14 + "loop": true,
  15 + "values" : [
  16 +
  17 + 4, 5, {"value":6,"colour":"#FF0000","tip":"monkies"}, 7, 8, 9
  18 + ]
  19 + },
  20 + {
  21 + "type": "line",
  22 + "colour": "#6AFF73",
  23 + "text": "Avg. wave height (cm)",
  24 + "font-size": 10,
  25 + "width": 2,
  26 + "dot-style": {
  27 + "type":"star", "hollow":true, "background-colour":"#a44a80",
  28 + "background-alpha": 0.4, "width":1, "dot-size":10 },
  29 +
  30 + "loop": true,
  31 + "values" : [
  32 + 15, 14, {"value":13,"colour":"#FF0000","tip":"monkies", "background-alpha": 0.9}, 12, 11, 10
  33 + ]
  34 + }
  35 + ],
  36 +
  37 + "radar_axis": {
  38 + "max": 20,
  39 + "stroke": 5,
  40 + "colour": "#167840",
  41 + "grid-colour": "#E1AAF5"
  42 + }
  43 +}
0 44 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/radar-area.txt 0 → 100644
... ... @@ -0,0 +1,50 @@
  1 +{
  2 + "title":{
  3 + "text":"Fruit distribution",
  4 + "style":"{font-size: 12px;}"
  5 + },
  6 +
  7 + "elements":[
  8 + {
  9 + "type": "area",
  10 + "colour": "#FA3D37",
  11 + "fill": "#FA3D37",
  12 + "fill-alpha": 0.2,
  13 + "text": "Oranges",
  14 + "width": 3,
  15 + "font-size": 10,
  16 + "dot-style": {
  17 + "type": "dot",
  18 + "tip": "Orange<br>#val#",
  19 + "dot-size": 5},
  20 +
  21 + "loop": true,
  22 + "values" : [3,3,9,9,9,3,3]
  23 + },
  24 +
  25 + {
  26 + "type": "area",
  27 + "colour": "#C9C738",
  28 + "fill": "#C9C738",
  29 + "fill-alpha": 0.2,
  30 + "text": "Limes",
  31 + "width": 3,
  32 + "font-size": 10,
  33 + "dot-style": {
  34 + "type": "hollow-dot",
  35 + "tip": "Lime<br>#val#",
  36 + "dot-size": 5},
  37 +
  38 + "loop": true,
  39 + "values" : [9,9,3,3,3,9,9]
  40 + }
  41 + ],
  42 + "radar_axis": {
  43 + "max": 11,
  44 + "stroke": 2,
  45 + "colour": "#A1D4B5",
  46 + "grid-colour": "#C0DEBF"
  47 + },
  48 +
  49 + "bg_colour": "#ffffff"
  50 +}
0 51 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/radar-axis-and-grid-style.txt 0 → 100644
... ... @@ -0,0 +1,40 @@
  1 +{
  2 + "title":{
  3 + "text":"Ahhhh, sweet.",
  4 + "style":"{font-size: 13px;}"
  5 + },
  6 +
  7 + "elements":[
  8 + {
  9 + "type": "line_hollow",
  10 + "colour": "#D41E47",
  11 + "text": "How I love thee",
  12 + "font-size": 10,
  13 + "width": 2,
  14 + "dot-size": 6,
  15 + "halo-size": 0,
  16 + "loop": true,
  17 + "values" : [3,5,6,7,8,9,10,11.5,13,11.5,10,9,8,7,6,5]
  18 + }
  19 + ],
  20 +
  21 +
  22 + "radar_axis": {
  23 + "max": 13,
  24 + "stroke": 2,
  25 + "colour": "#A1D4B5",
  26 + "grid-colour": "#C0DEBF",
  27 +
  28 + "labels":{
  29 + "colour" :"#ff0000",
  30 + "labels": [
  31 + "0","1",
  32 + "2",
  33 + {"text":"3","colour":"#00D000"},
  34 + "4",
  35 + "5 Hello",
  36 + "6","7","8","9","10","11","12","13"
  37 + ]
  38 + }
  39 + }
  40 +}
0 41 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/radar-axis-labels-2.txt 0 → 100644
... ... @@ -0,0 +1,58 @@
  1 +{
  2 + "title":{
  3 + "text":"Ahhhh, sweet.",
  4 + "style":"{font-size: 13px;}"
  5 + },
  6 +
  7 + "elements":[
  8 + {
  9 + "type": "area_line",
  10 + "colour": "#FA3D37",
  11 + "fill": "#FA3D37",
  12 + "fill-alpha": 0.3,
  13 + "text": "Orange",
  14 + "width": 1,
  15 + "font-size": 10,
  16 + "dot-size": 3,
  17 + "halo-size": 1,
  18 + "tip": "Orange<br>#val#",
  19 + "loop": true,
  20 + "values" : [2,2,2,2,2,2,2]
  21 + },
  22 + {
  23 + "type": "area_line",
  24 + "colour": "#3D37FA",
  25 + "fill": "#3D37FA",
  26 + "fill-alpha": 0.3,
  27 + "text": "Blue",
  28 + "width": 1,
  29 + "font-size": 10,
  30 + "dot-size": 3,
  31 + "halo-size": 1,
  32 + "tip": "Blue<br>#val#",
  33 + "loop": true,
  34 + "values" : [{"value":3, "tip":"3 Accuratesse"},3,3,1.5,1,2,3]
  35 + }
  36 + ],
  37 +
  38 +
  39 + "radar_axis": {
  40 + "max": 4,
  41 + "stroke": 1,
  42 + "colour": "#909090",
  43 + "grid-colour": "#C0DEBF",
  44 + "steps": 4,
  45 +
  46 + "labels":{
  47 + "colour" :"#000000",
  48 + "labels": [
  49 + "0","1","2","3","4"
  50 + ]
  51 + },
  52 +
  53 + "spoke-labels":{
  54 + "colour": "#000000",
  55 + "labels": ["Accuratesse","Analystich<br>vermogen","Creativiteit","Plannen en<br>organiseren","Probleemanalyse","Samenwerken in<br>teamverband","Zelfstandigheid"]
  56 + }
  57 + }
  58 +}
0 59 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/radar-axis-labels.txt 0 → 100644
... ... @@ -0,0 +1,43 @@
  1 +{
  2 + "title":{
  3 + "text":"Ahhhh, sweet.",
  4 + "style":"{font-size: 13px;}"
  5 + },
  6 +
  7 + "elements":[
  8 + {
  9 + "type": "line_hollow",
  10 + "colour": "#D41E47",
  11 + "text": "How I love thee",
  12 + "font-size": 10,
  13 + "width": 2,
  14 + "dot-size": 6,
  15 + "halo-size": 0,
  16 + "loop": true,
  17 + "values" : [4,4,4,4,4,3.5]
  18 + }
  19 + ],
  20 +
  21 +
  22 + "radar_axis": {
  23 + "max": 5,
  24 + "stroke": 2,
  25 + "colour": "#A1D4B5",
  26 + "grid-colour": "#C0DEBF",
  27 +
  28 + "labels":{
  29 + "colour" :"#ff0000",
  30 + "labels": [
  31 + "0","1","2",
  32 + {"text":"3","colour":"#00D000"},
  33 + "4",
  34 + "5 Hello"
  35 + ]
  36 + },
  37 +
  38 + "spoke-labels":{
  39 + "colour": "#000000",
  40 + "labels": ["A","bbb","c","d","E","F"]
  41 + }
  42 + }
  43 +}
0 44 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/radar-axis-tooltip-closest.txt 0 → 100644
... ... @@ -0,0 +1,43 @@
  1 +{
  2 + "title":{
  3 + "text":"Ahhhh, sweet.",
  4 + "style":"{font-size: 13px;}"
  5 + },
  6 +
  7 + "elements":[
  8 + {
  9 + "type": "line_hollow",
  10 + "colour": "#D41E47",
  11 + "text": "How I love thee",
  12 + "font-size": 10,
  13 + "width": 2,
  14 + "dot-size": 6,
  15 + "halo-size": 0,
  16 + "loop": true,
  17 + "values" : [4,4,4,4,4,3.5]
  18 + }
  19 + ],
  20 +
  21 +
  22 + "radar_axis": {
  23 + "max": 5,
  24 + "stroke": 2,
  25 + "colour": "#A1D4B5",
  26 + "grid-colour": "#C0DEBF",
  27 +
  28 + "labels":{
  29 + "colour" :"#ff0000",
  30 + "labels": [
  31 + "0","1","2",
  32 + {"text":"3","colour":"#00D000"},
  33 + "4",
  34 + "5 Hello"
  35 + ]
  36 + }
  37 + },
  38 +
  39 + "tooltip":{
  40 + "mouse": 1
  41 + }
  42 +
  43 +}
0 44 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/radar-axis-tooltip-hover.txt 0 → 100644
... ... @@ -0,0 +1,43 @@
  1 +{
  2 + "title":{
  3 + "text":"Ahhhh, sweet.",
  4 + "style":"{font-size: 13px;}"
  5 + },
  6 +
  7 + "elements":[
  8 + {
  9 + "type": "line_hollow",
  10 + "colour": "#D41E47",
  11 + "text": "How I love thee",
  12 + "font-size": 10,
  13 + "width": 2,
  14 + "dot-size": 6,
  15 + "halo-size": 0,
  16 + "loop": true,
  17 + "values" : [4,4,4,4,4,3.5]
  18 + }
  19 + ],
  20 +
  21 +
  22 + "radar_axis": {
  23 + "max": 5,
  24 + "stroke": 2,
  25 + "colour": "#A1D4B5",
  26 + "grid-colour": "#C0DEBF",
  27 +
  28 + "labels":{
  29 + "colour" :"#ff0000",
  30 + "labels": [
  31 + "0","1","2",
  32 + {"text":"3","colour":"#00D000"},
  33 + "4",
  34 + "5 Hello"
  35 + ]
  36 + }
  37 + },
  38 +
  39 + "tooltip":{
  40 + "mouse": 2
  41 + }
  42 +
  43 +}
0 44 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/radar-chart-minus-numbers.txt 0 → 100644
... ... @@ -0,0 +1,78 @@
  1 +{
  2 + "elements":
  3 + [
  4 + {
  5 + "fill": "#988d5a",
  6 + "width": 3,
  7 + "dot-size": 0,
  8 + "colour": "#988d5a",
  9 + "values":
  10 + [
  11 + {"value": 10.129090909090907, "tip": "mooo"},
  12 + -32.405162496404941,
  13 + "-100",
  14 + 0,
  15 + -15.443510737628385
  16 + ],
  17 + "font-size": 0,
  18 + "fillalpha": 0.3,
  19 + "type": "area",
  20 + "dot-style":
  21 + {
  22 + "tip": "#val#%",
  23 + "dot-size": 0,
  24 + "value": 0
  25 + },
  26 + "loop": true
  27 + }
  28 + ],
  29 + "bg_colour": "#ffffff",
  30 + "radar_axis":
  31 + {
  32 + "labels":
  33 + {
  34 + "labels":
  35 + []
  36 + },
  37 + "spoke-labels":
  38 + {
  39 + "labels":
  40 + [
  41 + {
  42 + "text": "Football",
  43 + "size": 10,
  44 + "visible": true
  45 + },
  46 + {
  47 + "text": "Tennis",
  48 + "size": 10,
  49 + "visible": true
  50 + },
  51 + {
  52 + "text": "Rugby",
  53 + "size": 10,
  54 + "visible": true
  55 + },
  56 + {
  57 + "text": "F1",
  58 + "size": 10,
  59 + "visible": true
  60 + },
  61 + {
  62 + "text": "Basket\u003Cbr>Ball",
  63 + "size": 10,
  64 + "visible": true
  65 + }
  66 + ],
  67 + "colour": "#1a171b"
  68 + },
  69 + "colour": "#e5e5e5",
  70 + "grid-colour": "#e5e5e5",
  71 + "steps": 25,
  72 + "min": -100,
  73 + "max": 100,
  74 + "3d": 0
  75 + },
  76 + "x_axis": null,
  77 + "y_axis": null
  78 +}
0 79 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/radar-line-loop.txt 0 → 100644
... ... @@ -0,0 +1,36 @@
  1 +{
  2 + "title":{
  3 + "text":"Pie for you sir?",
  4 + "style":"{font-size: 30px;}"
  5 + },
  6 +
  7 + "elements":[
  8 + {
  9 + "type": "line",
  10 + "colour": "#736AFF",
  11 + "text": "Avg. wave height (cm)",
  12 + "font-size": 10,
  13 + "width": 2,
  14 + "dot-size": 4,
  15 + "halo-size": 0,
  16 + "loop": true,
  17 + "values" : [
  18 +
  19 + 5, 10, {"value":10,"colour":"#FF0000","tip":"monkies"}, 20, 18
  20 + ]
  21 + },
  22 + {
  23 + "type": "line",
  24 + "colour": "#73FF6A",
  25 + "width": 1,
  26 + "dot-size": 3,
  27 + "halo-size": 2,
  28 + "loop": false,
  29 + "values" : [20,20,20,20,20]
  30 + }
  31 + ],
  32 +
  33 + "radar_axis": {
  34 + "max": 20
  35 + }
  36 +}
0 37 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/radar-steps.txt 0 → 100644
... ... @@ -0,0 +1,31 @@
  1 +{
  2 + "title":{
  3 + "text":"Fruit distribution",
  4 + "style":"{font-size: 12px;}"
  5 + },
  6 +
  7 + "elements":[
  8 + {
  9 + "type": "area_hollow",
  10 + "colour": "#FA3D37",
  11 + "fill": "#FA3D37",
  12 + "fill-alpha": 0.2,
  13 + "text": "Oranges",
  14 + "width": 3,
  15 + "font-size": 10,
  16 + "dot-size": 7,
  17 + "tip": "Orange<br>#val#",
  18 + "loop": true,
  19 + "values" : [35,35,35]
  20 + }
  21 + ],
  22 + "radar_axis": {
  23 + "max": 50,
  24 + "steps": 10,
  25 + "stroke": 2,
  26 + "colour": "#A1D4B5",
  27 + "grid-colour": "#C0DEBF"
  28 + },
  29 +
  30 + "bg_colour": "#ffffff"
  31 +}
0 32 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/radar-test-keys.txt 0 → 100644
... ... @@ -0,0 +1,44 @@
  1 +{
  2 + "title":{
  3 + "text":"Radar: key 2 disabled",
  4 + "style":"{font-size: 20px;}"
  5 + },
  6 +
  7 + "elements":[
  8 + {
  9 + "type": "line_hollow",
  10 + "colour": "#736AFF",
  11 + "text": "Key 1",
  12 + "font-size": 10,
  13 + "width": 2,
  14 + "dot-size": 4,
  15 + "halo-size": 0,
  16 + "loop": true,
  17 + "values" : [4,4,4,4,4,4,4]
  18 + },
  19 + {
  20 + "type": "line_hollow",
  21 + "colour": "#0000FF",
  22 + "width": 2,
  23 + "dot-size": 4,
  24 + "halo-size": 0,
  25 + "loop": true,
  26 + "values" : [8,8,8,8,8,8,8]
  27 + },
  28 + {
  29 + "type": "line_dot",
  30 + "colour": "#6AFF73",
  31 + "text": "Key 3",
  32 + "font-size": 10,
  33 + "width": 2,
  34 + "dot-size": 4,
  35 + "halo-size": 0,
  36 + "loop": true,
  37 + "values" : [14,14,14,14,14,14,14]
  38 + }
  39 + ],
  40 +
  41 + "radar_axis": {
  42 + "max": 20
  43 + }
  44 +}
0 45 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/scatter-2.txt 0 → 100644
... ... @@ -0,0 +1,66 @@
  1 +{
  2 +
  3 + "elements":[
  4 + {
  5 + "type": "scatter",
  6 + "colour": "#FFB900",
  7 + "text": "Avg",
  8 + "font-size": 10,
  9 + "dot-style": {"type":"solid-dot"},
  10 + "on-show": {"type": "explode", "cascade":0.6, "delay":1},
  11 + "values" : [
  12 + {"x":-5, "y":-5 },
  13 + {"x":0, "y":0 },
  14 + {"x":5, "y":5, "dot-size":20},
  15 + {"x":5, "y":-5, "dot-size":5},
  16 + {"x":-5, "y":5, "dot-size":5},
  17 + {"x":0.5, "y":1, "dot-size":15, "tip": "moooo"}
  18 + ]
  19 + },
  20 + {
  21 + "type": "scatter",
  22 + "colour": "#B900FF",
  23 + "text": "No 2",
  24 + "font-size": 10,
  25 + "dot-style": {"type":"hollow-dot", "width":1, "size":2},
  26 + "on-show": {"type": "explode", "cascade":0.6, "delay":0.5},
  27 + "values" : [
  28 + {"x":-5, "y":-3},
  29 + {"x":0, "y":0.5}
  30 + ]
  31 + },
  32 + {
  33 + "type": "line",
  34 + "colour": "#B9FF00",
  35 + "text": "Line",
  36 + "font-size": 10,
  37 + "values" : [3,3,3,3,3]
  38 + }
  39 +
  40 + ],
  41 +
  42 + "x_axis":{
  43 + "min": -5,
  44 + "max": 5,
  45 + "labels":["mon","tue","wed","thur","fri","sat","sun"]
  46 + },
  47 +
  48 + "y_axis":{
  49 + "min": -5,
  50 + "max": 5
  51 + },
  52 +
  53 + "y_legend":{
  54 + "text": "Time of day",
  55 + "style": "{font-size: 20px; color: #736AFF;}"
  56 + }
  57 +}
  58 +
  59 +
  60 +/*
  61 +&bg_colour=#DFFFDF&
  62 +&x_label_style=12,#9933CC&
  63 +&y_label_style=12,#9933CC&
  64 +&tool_tip=x:#x_label#<br>y:#val#&
  65 +*/
  66 +
... ...
pacotes/openflashchart/data-files/scatter-anchors.txt 0 → 100644
... ... @@ -0,0 +1,61 @@
  1 +{
  2 +
  3 + "title":{
  4 + "text":"Sample Scatter Anchors",
  5 + "style":"{font-size: 24px; margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; }"
  6 + },
  7 + "num_decimals":3,
  8 +
  9 + "elements":[
  10 + {
  11 + "type": "scatter",
  12 + "colour": "#30BfBc",
  13 + "dot-style": { "type":"anchor", "sides":3, "alpha":1, "hollow":true, "background-colour":"#a44a80",
  14 + "background-alpha": 0.4, "width":1, "tip":"type = anchor\nsides = 3\nhollow" },
  15 + "animate": 0,
  16 + "dot-size": 12,
  17 + "width": 3,
  18 + "halo-size": 2,
  19 + "text": "Sample Scatter Anchors",
  20 + "tip": "[#x#,#y#] #size#\nSample Anchors",
  21 + "values" : [
  22 + {"x": 1, "y": 8, "type":"point", "tip":"type = point" },
  23 + {"x": 2, "y": 8, "type":"solid-dot", "tip":"type = dot" },
  24 + {"x": 3, "y": 8, "type":"bow", "hollow":false, "rotation":-45, "tip":"type = bow" },
  25 + {"x": 4, "y": 8, "type":"bow", "hollow":true, "background-colour":"#b0101c",
  26 + "rotation":45, "tip":"type = bow\nhollow" },
  27 + {"x": 5, "y": 8, "type":"bow", "hollow":true, "background-colour":"#b0101c",
  28 + "rotation":90, "tip":"type = bow\nhollow" },
  29 + {"x": 6, "y": 8, "type":"star", "hollow":true, "rotation":0, "tip":"type = star\nhollow" },
  30 + {"x": 7, "y": 8, "type":"star", "hollow":true, "rotation":90, "tip":"type = star\nhollow", "dot-size":12 },
  31 + {"x": 8, "y": 8, "type":"star", "hollow":false, "rotation":180, "tip":"type = star", "dot-size":12 },
  32 + {"x": 9, "y": 8, "type":"dot", "tip":"type = solid dot", "dot-size":12 },
  33 + {"x": 1, "y": 4 }, // triangle from dot-style definition above
  34 + {"x": 2, "y": 4, "type":"anchor", "sides":4, "tip":"type = anchor<br>sides = 4\nhollow" },
  35 + {"x": 3, "y": 4, "type":"anchor", "sides":5, "tip":"type = anchor\nsides = 5\nhollow" },
  36 + {"x": 4, "y": 4, "type":"anchor", "sides":6, "tip":"type = anchor\nsides = 6\nhollow" },
  37 + {"x": 5, "y": 4, "type":"anchor", "sides":7, "tip":"type = anchor\nsides = 7\nhollow" },
  38 + {"x": 6, "y": 4, "type":"anchor", "sides":8, "tip":"type = anchor\nsides = 8\nhollow" },
  39 + {"x": 7, "y": 4, "type":"anchor", "sides":9, "tip":"type = anchor\nsides = 9\nhollow", "hollow":true, "background-colour":"#ffffff" },
  40 + {"x": 8, "y": 4, "type":"anchor", "sides":10, "tip":"type = anchor\nsides = 10\nhollow" }
  41 + ]
  42 + }
  43 + ],
  44 +
  45 + "x_axis": {
  46 + "min": 0,
  47 + "max": 10,
  48 + "offset": 0,
  49 + "steps" : 1,
  50 + "3d" : 0,
  51 + "labels": { "rotate" : 0, "size": 10 }
  52 + },
  53 +
  54 + "y_axis": {
  55 + "min": 0,
  56 + "max": 10,
  57 + "stroke": 2,
  58 + "steps" : 1,
  59 + "offset": 0
  60 + }
  61 +}
... ...
pacotes/openflashchart/data-files/scatter-line-2.txt 0 → 100644
... ... @@ -0,0 +1,123 @@
  1 +{
  2 +
  3 + "title":{
  4 + "text":"ScatterLine Test Chart",
  5 + "style":"{font-size: 24px; margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; background-color: #356AA0; }"
  6 + },
  7 +
  8 + "elements":[
  9 + {
  10 + "type": "scatter_line",
  11 + "colours": ["#d01f3c","#356aa0","#C79810"],
  12 + "alpha": 0.6,
  13 + "border": 2,
  14 + "animate": 0,
  15 + "dot-style": {"type":"solid-dot"},
  16 + "values" : [
  17 + // Draw a 60 sided object to approximate a circle
  18 + {"x": 0, "y": -80 },
  19 + {"x": 8.362277061412277, "y": -79.56175162946187 },
  20 + {"x": 16.632935265420738, "y": -78.25180805870446 },
  21 + {"x": 24.721359549995796, "y": -76.08452130361228 },
  22 + {"x": 32.538931446064026, "y": -73.08363661140807 },
  23 + {"x": 40.00000000000001, "y": -69.28203230275508 },
  24 + {"x": 47.022820183397855, "y": -64.7213595499958 },
  25 + {"x": 53.53044850870866, "y": -59.45158603819153 },
  26 + {"x": 59.451586038191536, "y": -53.53044850870866 },
  27 + {"x": 64.7213595499958, "y": -47.022820183397855 },
  28 + {"x": 69.2820323027551, "y": -39.99999999999999 },
  29 + {"x": 73.08363661140807, "y": -32.53893144606401 },
  30 + {"x": 76.08452130361228, "y": -24.721359549995793 },
  31 + {"x": 78.25180805870446, "y": -16.632935265420745 },
  32 + {"x": 79.56175162946187, "y": -8.362277061412277 },
  33 + {"x": 80, "y": 0 },
  34 + {"x": 79.56175162946187, "y": 8.362277061412277 },
  35 + {"x": 78.25180805870446, "y": 16.632935265420745 },
  36 + {"x": 76.08452130361228, "y": 24.721359549995793 },
  37 + {"x": 73.08363661140807, "y": 32.53893144606401 },
  38 + {"x": 69.2820323027551, "y": 39.99999999999999 },
  39 + {"x": 64.7213595499958, "y": 47.022820183397855 },
  40 + {"x": 59.451586038191536, "y": 53.53044850870866 },
  41 + {"x": 53.53044850870866, "y": 59.45158603819153 },
  42 + {"x": 47.022820183397855, "y": 64.7213595499958 },
  43 + {"x": 40.00000000000001, "y": 69.28203230275508 },
  44 + {"x": 32.538931446064026, "y": 73.08363661140807 },
  45 + {"x": 24.721359549995796, "y": 76.08452130361228 },
  46 + {"x": 16.632935265420738, "y": 78.25180805870446 },
  47 + {"x": 8.362277061412277, "y": 79.56175162946187 },
  48 + {"x": 0, "y": 80 },
  49 + {"x": -8.362277061412266, "y": 79.56175162946187 },
  50 + {"x": -16.63293526542073, "y": 78.25180805870446 },
  51 + {"x": -24.72135954999579, "y": 76.08452130361229 },
  52 + {"x": -32.538931446064005, "y": 73.08363661140808 },
  53 + {"x": -39.999999999999986, "y": 69.2820323027551 },
  54 + {"x": -47.02282018339784, "y": 64.7213595499958 },
  55 + {"x": -53.53044850870863, "y": 59.45158603819156 },
  56 + {"x": -59.45158603819155, "y": 53.530448508708645 },
  57 + {"x": -64.72135954999578, "y": 47.02282018339786 },
  58 + {"x": -69.2820323027551, "y": 39.99999999999999 },
  59 + {"x": -73.08363661140808, "y": 32.538931446064005 },
  60 + {"x": -76.08452130361228, "y": 24.7213595499958 },
  61 + {"x": -78.25180805870446, "y": 16.632935265420745 },
  62 + {"x": -79.56175162946187, "y": 8.362277061412298 },
  63 + {"x": -80, "y": 0 },
  64 + {"x": -79.56175162946187, "y": -8.36227706141228 },
  65 + {"x": -78.25180805870446, "y": -16.632935265420727 },
  66 + {"x": -76.08452130361228, "y": -24.721359549995817 },
  67 + {"x": -73.08363661140808, "y": -32.538931446063984 },
  68 + {"x": -69.28203230275508, "y": -40.00000000000001 },
  69 + {"x": -64.72135954999581, "y": -47.02282018339784 },
  70 + {"x": -59.451586038191536, "y": -53.53044850870866 },
  71 + {"x": -53.53044850870867, "y": -59.45158603819152 },
  72 + {"x": -47.02282018339786, "y": -64.72135954999578 },
  73 + {"x": -40.000000000000036, "y": -69.28203230275507 },
  74 + {"x": -32.538931446064005, "y": -73.08363661140808 },
  75 + {"x": -24.721359549995803, "y": -76.08452130361228 },
  76 + {"x": -16.632935265420784, "y": -78.25180805870444 },
  77 + {"x": -8.362277061412339, "y": -79.56175162946187 },
  78 + {"x": 0, "y": -80 },
  79 + // Force a break in the lines
  80 + {"x": null, "y": null },
  81 + // Draw the star inside the circle
  82 + {"x": 0 ,"y": 80 },
  83 + {"x": -47.02282018339786 ,"y": -64.72135954999578 },
  84 + {"x": 76.08452130361229 ,"y": 24.721359549995775 },
  85 + {"x": -76.08452130361228 ,"y": 24.7213595499958 },
  86 + {"x": 47.02282018339783 ,"y": -64.72135954999581 },
  87 + {"x": 0 ,"y": 80 },
  88 + // Force a break in the lines
  89 + {"x": null, "y": null },
  90 + // Draw a Triangle inside the star
  91 + {"x": 0 ,"y": -10 },
  92 + {"x": -10 ,"y": 10 },
  93 + {"x": 10 ,"y": 10 },
  94 + {"x": 0 ,"y": -10 }
  95 +
  96 + ],
  97 + "bg_colour" : "#DFFFDF"
  98 + }
  99 + ],
  100 +
  101 + "x_axis": {
  102 + "min": -100,
  103 + "max": 100,
  104 + "offset": 0,
  105 + "steps" : 10,
  106 + "3d" : 0,
  107 + "rotatation" : 2
  108 + },
  109 +
  110 + "x_label_style": {
  111 + "rotation" : "2",
  112 + "visible" : "false"
  113 + },
  114 +
  115 + "y_axis": {
  116 + "min": -100,
  117 + "max": 100,
  118 + "stroke": 2,
  119 + "steps" : 10,
  120 + "ticks" : [25,50,75],
  121 + "offset": 0
  122 + }
  123 +}
... ...
pacotes/openflashchart/data-files/scatter-line-area.txt 0 → 100644
... ... @@ -0,0 +1,128 @@
  1 +{
  2 +
  3 + "title":{
  4 + "text":"Scatter Line with Area Fill",
  5 + "style":"{font-size: 24px; margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; }"
  6 + },
  7 + "num_decimals":3,
  8 +
  9 + "elements":[
  10 + {
  11 + "type": "scatter_line",
  12 + "colour": "#d01f3c",
  13 + "alpha": 0.6,
  14 + "border": 2,
  15 + "animate": 0,
  16 + "width": 3,
  17 + "line-style": { "style":"dash", "off":2 },
  18 + "text": "Area base is line Y=0",
  19 + "tip": "[#x#,#y#] #size#\nArea base is line Y=0",
  20 + "line-style": { "style":"solid", "off":2 },
  21 + "area-style": { "colour":"#b0101c", "y":0},
  22 + "values" : [
  23 + {"x": -50, "y": 80 },
  24 + {"x": -20, "y": 20 },
  25 + {"x": 0, "y": -40 },
  26 + {"x": 20, "y": 20 },
  27 + {"x": 50, "y": 80 }
  28 + ]
  29 + },
  30 + {
  31 + "type": "scatter_line",
  32 + "colour": "#356aa0",
  33 + "animate": 0,
  34 + "dot-size": 3,
  35 + "text": "Area base is line X=-80",
  36 + "tip": "[#x#,#y#] #size#\nArea base is line X=-80",
  37 + "line-style": { "style":"solid", "off":2 },
  38 + "area-style": { "colour":"#104a80", "alpha":0.5, "x":-80},
  39 + "values" : [
  40 + {"x": -90, "y": -80 },
  41 + {"x": -85, "y": -20 },
  42 + {"x": -80, "y": 0 },
  43 + {"x": -75, "y": 20 },
  44 + {"x": -70, "y": 80 }
  45 + ]
  46 + },
  47 + {
  48 + "type": "scatter_line",
  49 + "colour": "#C79810",
  50 + "animate": 0,
  51 + "dot-size": 3,
  52 + "text": "Area base is point (80,-60)",
  53 + "tip": "[#x#,#y#] #size#\nArea base is point (80,-60)",
  54 + "line-style": { "style":"solid", "off":2 },
  55 + "area-style": { "colour":"#A7780c", "x":80, "y":-60},
  56 + "values" : [
  57 + {"x": 70, "y": -50 },
  58 + {"x": 75, "y": -45 },
  59 + {"x": 85, "y": -45 },
  60 + {"x": 90, "y": -50 },
  61 + {"x": 90, "y": -70 },
  62 + {"x": 85, "y": -65 },
  63 + {"x": 75, "y": -65 },
  64 + {"x": 70, "y": -70 },
  65 + {"x": 70, "y": -50 }
  66 + ]
  67 + },
  68 + {
  69 + "type": "scatter_line",
  70 + "colour": "#1fd03c",
  71 + "animate": 0,
  72 + "dot-size": 3,
  73 + "halo-size": 1,
  74 + "text": "Area base is line Y=-90 with gaps",
  75 + "tip": "[#x#,#y#] #size#\nArea base is line Y=-90 with gaps",
  76 + "line-style": { "style":"solid", "off":2 },
  77 + "area-style": { "colour":"#10b01c", "y":-90},
  78 + "values" : [
  79 + {"x": -60, "y": -80 },
  80 + {"x": -40, "y": -85 },
  81 + {"x": null, "y": null }, // Create a gap in the chart
  82 + {"x": -30, "y": -85 },
  83 + {"x": -10, "y": -80 }
  84 + ]
  85 + },
  86 + {
  87 + "type": "scatter_line",
  88 + "colour": "#d03c1f",
  89 + "animate": 0,
  90 + "dot-size": 3,
  91 + "halo-size": 1,
  92 + "text": "Area base is point (80,50) with gaps",
  93 + "tip": "[#x#,#y#] #size#\nArea base is point (80,50) with gaps",
  94 + "line-style": { "style":"solid", "off":2 },
  95 + "area-style": { "colour":"#10b01c", "x":80, "y":50},
  96 + "values" : [
  97 + {"x": 70, "y": 80 },
  98 + {"x": 90, "y": 80 },
  99 + {"x": null, "y": null }, // Create a gap in the chart
  100 + {"x": 100, "y": 60 },
  101 + {"x": 100, "y": 40 },
  102 + {"x": null, "y": null }, // Create a gap in the chart
  103 + {"x": 90, "y": 20 },
  104 + {"x": 70, "y": 20 },
  105 + {"x": null, "y": null }, // Create a gap in the chart
  106 + {"x": 60, "y": 40 },
  107 + {"x": 60, "y": 60 }
  108 + ]
  109 + }
  110 + ],
  111 +
  112 + "x_axis": {
  113 + "min": -100,
  114 + "max": 100,
  115 + "offset": 0,
  116 + "steps" : 10,
  117 + "3d" : 0,
  118 + "labels": { "rotate" : -30, "size": 10 }
  119 + },
  120 +
  121 + "y_axis": {
  122 + "min": -100,
  123 + "max": 100,
  124 + "stroke": 2,
  125 + "steps" : 10,
  126 + "offset": 0
  127 + }
  128 +}
... ...
pacotes/openflashchart/data-files/scatter-line-step-horizontal.txt 0 → 100644
... ... @@ -0,0 +1,25 @@
  1 +{
  2 +
  3 + "elements":[
  4 + {
  5 + "type": "scatter_line",
  6 + "colour": "#FFB900",
  7 + "text": "Avg",
  8 + "font-size": 10,
  9 + "dot-size": 10,
  10 + "stepgraph" : "horizontal",
  11 + "values" : [
  12 + {"x":-4, "y":-5 },
  13 + {"x":-4, "y":-2 },
  14 + {"x":-4, "y":1 },
  15 + {"x":3, "y":3 },
  16 + {"x":3.5, "y":3.5 },
  17 + {"x":4.9, "y":4.9 }
  18 + ]
  19 + }
  20 +
  21 + ]
  22 +}
  23 +
  24 +
  25 +
... ...
pacotes/openflashchart/data-files/scatter-line-step-vertical.txt 0 → 100644
... ... @@ -0,0 +1,25 @@
  1 +{
  2 +
  3 + "elements":[
  4 + {
  5 + "type": "scatter_line",
  6 + "colour": "#FFB900",
  7 + "text": "Avg",
  8 + "font-size": 10,
  9 + "dot-size": 10,
  10 + "stepgraph" : "vertical",
  11 + "values" : [
  12 + {"x":-4, "y":-5 },
  13 + {"x":-4, "y":-2 },
  14 + {"x":-4, "y":1 },
  15 + {"x":3, "y":3 },
  16 + {"x":3.5, "y":3.5 },
  17 + {"x":4.9, "y":4.9 }
  18 + ]
  19 + }
  20 +
  21 + ]
  22 +}
  23 +
  24 +
  25 +
... ...
pacotes/openflashchart/data-files/scatter-line.txt 0 → 100644
... ... @@ -0,0 +1,42 @@
  1 +{
  2 +
  3 + "elements":[
  4 + {
  5 + "type": "scatter_line",
  6 + "colour": "#FFB900",
  7 + "text": "Avg",
  8 + "font-size": 10,
  9 + /* BUG: if you comment this out no line is drawn? why? */
  10 + "dot-style": {"type":"solid-dot"},
  11 + "values" : [
  12 + {"x":-4, "y":-5, "tip":"HELLO" },
  13 + {"x":-4, "y":-2, "colour":"#FF0000" },
  14 + {"x":-4, "y":1, "dot-size":4},
  15 + {"x":3, "y":3, "dot-size":5, "type": "hollow-dot"},
  16 + {"x":3.5, "y":3.5, "dot-size":6},
  17 + {"x":4.9, "y":4.9, "dot-size":7}
  18 + ]
  19 + }
  20 +
  21 + ],
  22 +
  23 + "x_axis":{
  24 + "offset": false,
  25 + "min": -5,
  26 + "max": 5/*,
  27 + "labels":["mon","tue","wed","thur","fri","sat","sun"]*/
  28 + },
  29 +
  30 + "y_axis":{
  31 + "min": -5,
  32 + "max": 5
  33 + },
  34 +
  35 + "y_legend":{
  36 + "text": "Time of day",
  37 + "style": "{font-size: 20px; color: #736AFF;}"
  38 + }
  39 +}
  40 +
  41 +
  42 +
... ...
pacotes/openflashchart/data-files/scatter-on-click.txt 0 → 100644
... ... @@ -0,0 +1,41 @@
  1 +{
  2 +
  3 + "elements":[
  4 + {
  5 + "type": "scatter",
  6 + "colour": "#FFB900",
  7 + "text": "Avg",
  8 + "font-size": 10,
  9 + "dot-style": {"type":"solid-dot", "on-click":"trace:moooo"},
  10 + "values" : [
  11 + {"x":-5, "y":-5, "tip":"HELLO" },
  12 + {"x":0, "y":0, "colour":"#FF0000" },
  13 + {"x":5, "y":5, "dot-size":20, "on-click":"trace:big dot"},
  14 + {"x":5, "y":-5, "dot-size":5},
  15 + {"x":-5, "y":5, "dot-size":5},
  16 + {"x":0.5, "y":1, "dot-size":15}
  17 + ]
  18 + }
  19 +
  20 + ],
  21 +
  22 + "x_axis":{
  23 + "offset": false,
  24 + "min": -5,
  25 + "max": 5/*,
  26 + "labels":["mon","tue","wed","thur","fri","sat","sun"]*/
  27 + },
  28 +
  29 + "y_axis":{
  30 + "min": -5,
  31 + "max": 5
  32 + },
  33 +
  34 + "y_legend":{
  35 + "text": "Time of day",
  36 + "style": "{font-size: 20px; color: #736AFF;}"
  37 + }
  38 +}
  39 +
  40 +
  41 +
... ...
pacotes/openflashchart/data-files/scatter-step-all.txt 0 → 100644
... ... @@ -0,0 +1,66 @@
  1 +{
  2 + "elements": [
  3 + {
  4 + "type": "scatter_line",
  5 + "colour": "#ff0000",
  6 + "dot-size": 3,
  7 + "values": [
  8 + {
  9 + "x": 1,
  10 + "y": 1
  11 + },
  12 + {
  13 + "x": 2,
  14 + "y": 2
  15 + },
  16 + {
  17 + "x": 3,
  18 + "y": 1
  19 + }
  20 + ]
  21 + },
  22 + {
  23 + "type": "scatter_line",
  24 + "colour": "#ff0000",
  25 + "dot-size": 3,
  26 + "values": [
  27 + {
  28 + "x": 4,
  29 + "y": 1
  30 + },
  31 + {
  32 + "x": 5,
  33 + "y": 2
  34 + },
  35 + {
  36 + "x": 6,
  37 + "y": 1
  38 + }
  39 + ],
  40 + "stepgraph": "horizontal"
  41 + },
  42 + {
  43 + "type": "scatter_line",
  44 + "colour": "#ff0000",
  45 + "dot-size": 3,
  46 + "values": [
  47 + {
  48 + "x": 7,
  49 + "y": 1
  50 + },
  51 + {
  52 + "x": 8,
  53 + "y": 2
  54 + },
  55 + {
  56 + "x": 9,
  57 + "y": 1
  58 + }
  59 + ],
  60 + "stepgraph": "vertical"
  61 + }
  62 + ],
  63 + "title": {
  64 + "text": "Thu Nov 20 2008"
  65 + }
  66 +}
0 67 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/scatter.txt 0 → 100644
... ... @@ -0,0 +1,40 @@
  1 +{
  2 +
  3 + "elements":[
  4 + {
  5 + "type": "scatter",
  6 + "colour": "#FFB900",
  7 + "text": "Avg",
  8 + "font-size": 10,
  9 + "dot-style": {"type":"solid-dot"},
  10 + "values" : [
  11 + {"x":-5, "y":-5, "tip":"HELLO" },
  12 + {"x":0, "y":0, "colour":"#FF0000" },
  13 + {"x":5, "y":5, "dot-size":20, "on-click":"trace:moooo"},
  14 + {"x":5, "y":-5, "dot-size":5, "type":"hollow-dot"},
  15 + {"x":-5, "y":5, "dot-size":5},
  16 + {"x":0.5, "y":1, "dot-size":15}
  17 + ]
  18 + }
  19 +
  20 + ],
  21 +
  22 + "x_axis":{
  23 + "offset": false,
  24 + "min": -5,
  25 + "max": 5/*,"labels":["mon","tue","wed","thur","fri","sat","sun"]*/
  26 + },
  27 +
  28 + "y_axis":{
  29 + "min": -5,
  30 + "max": 5
  31 + },
  32 +
  33 + "y_legend":{
  34 + "text": "Time of day",
  35 + "style": "{font-size: 20px; color: #736AFF;}"
  36 + }
  37 +}
  38 +
  39 +
  40 +
... ...
pacotes/openflashchart/data-files/shape.txt 0 → 100644
... ... @@ -0,0 +1,55 @@
  1 +{
  2 + "y_legend":{
  3 + "text": "Time of day",
  4 + "style": "{color: #736AFF;}"
  5 + },
  6 +
  7 + "elements":[
  8 + {
  9 + "type": "line",
  10 + "colour": "#736AFF",
  11 + "text": "Avg. wave height (cm)",
  12 + "font-size": 10,
  13 + "width": 2,
  14 + "dot-size": 4,
  15 + "halo-size": 0,
  16 + "line-style": {"style":"dash","on":10,"off":5},
  17 + "values" : [
  18 + 6,6,
  19 + {"value":7, "colour":"#FF0000", "tip":"LINE<br>#val#", "dot-size":12, "halo-size": 3 },
  20 + 8,8]
  21 + },
  22 + {
  23 + "type": "shape",
  24 + "colour": "#FF0000",
  25 + "alpha": 0.2,
  26 + "values" : [
  27 + {"x":2,"y":2},
  28 + {"x":4,"y":2},
  29 + {"x":4,"y":4},
  30 + {"x":3,"y":5},
  31 + {"x":2,"y":4}
  32 + ]
  33 + },
  34 + {
  35 + "type": "line_dot",
  36 + "colour": "#736AFF",
  37 + "text": "Line Dot Key",
  38 + "font-size": 10,
  39 + "width": 2,
  40 + "dot-size": 4,
  41 + "halo-size": 1,
  42 + "tip": "global dot<br>#val#",
  43 + "values" : [
  44 + 2,2,
  45 + {"value":3, "colour":"#FF0000", "tip":"DOT<br>#val#<br>Key: #key#<br>#x_label#, #x_legend#", "dot-size":12, "halo-size": 3 },
  46 + 4,4]
  47 + }
  48 + ],
  49 +
  50 +
  51 + "y_axis":{
  52 + "max": 10
  53 + }
  54 +
  55 +}
0 56 \ No newline at end of file
... ...
pacotes/openflashchart/data-files/stack-bar-1.txt 0 → 100644
... ... @@ -0,0 +1,41 @@
  1 +{
  2 +
  3 + "title":{
  4 + "text":"Test stacked bar charts",
  5 + "style":"{font-size:16px;}"
  6 + },
  7 +
  8 + "elements":[
  9 + {
  10 + "type": "bar_stack",
  11 + "keys": [
  12 + {"colour":"#FFB900", "text": "Key 1", "font-size": 10},
  13 + {"colour":"#FFB9F0", "text": "Key 2", "font-size": 16},
  14 + {"colour":"#FFB9F0", "text": "Key 3"},
  15 + {"colour":"#FFB9F0", "font-size": 16},
  16 + {"text": "Key 5", "font-size": 16}
  17 + ],
  18 +
  19 + "values" : [
  20 + [2.5,{"val":5}],
  21 + [{"val":2.5},{"val":5},{"val":2.5}],
  22 + null,
  23 + [{"val":5},{"val":5},{"val":2},{"val":2},{"val":2,"colour":"#ff00ff"},{"val":2},{"val":2}]
  24 + ]
  25 + }
  26 + ],
  27 +
  28 + "x_axis":{
  29 + "max":4,
  30 + "steps": 1,
  31 + "labels": {
  32 + "labels": ["January","February","March","April"]
  33 + },
  34 + "stroke": 12,
  35 + "tick-height": 6
  36 + },
  37 +
  38 + "y_axis":{
  39 + "max": 20
  40 + }
  41 +}
... ...
pacotes/openflashchart/data-files/stack-bar-2.txt 0 → 100644
... ... @@ -0,0 +1,44 @@
  1 +{
  2 +
  3 + "title":{
  4 + "text":"Test stacked bar charts",
  5 + "style":"{font-size:16px;}"
  6 + },
  7 +
  8 + "elements":[
  9 + {
  10 + "type": "bar_stack",
  11 + "colours": ["#FF0000","#0000FF"],
  12 + "keys": [
  13 + {"colour":"#FFB900", "text": "Key 1", "font-size": 10},
  14 + {"colour":"#FFB9F0", "text": "Key 2", "font-size": 16}
  15 + ],
  16 + "ti--p": "#total#<br>(bar total)",
  17 + "values": [
  18 + [2.5,{"val":5}],
  19 + [{"val":2.5},{"val":5},{"val":2.5}],
  20 + null,
  21 + [{"val":5},{"val":5},{"val":2},{"val":2},{"val":2,"colour":"#ff00ff","tip":"hello"},{"val":2},{"val":2}]
  22 + ]
  23 + },
  24 + {
  25 + "type": "bar",
  26 + "colour": "#9933CC",
  27 + "text": "Bar",
  28 + "font-size": 10,
  29 + "values" : [9,6,7,9]
  30 + }
  31 + ],
  32 +
  33 + "x_axis":{
  34 + "labels": {
  35 + "labels": ["January","February","March","April"]
  36 + },
  37 + "stroke": 12,
  38 + "tick-height": 6
  39 + },
  40 +
  41 + "y_axis":{
  42 + "max": 20
  43 + }
  44 +}
... ...