summaryrefslogtreecommitdiffstatshomepage
path: root/includes/js/dojox/charting/themes
diff options
context:
space:
mode:
authorGravatar mensonge2008-11-13 09:49:11 +0000
committerGravatar mensonge2008-11-13 09:49:11 +0000
commite44a7e37b6c7b5961adaffc62b9042b8d442938e (patch)
tree95b67c356e93163467db2451f2b8cce84ed5d582 /includes/js/dojox/charting/themes
parenta62b9742ee5e28bcec6872d88f50f25b820914f6 (diff)
downloadscuttle-e44a7e37b6c7b5961adaffc62b9042b8d442938e.tar.gz
scuttle-e44a7e37b6c7b5961adaffc62b9042b8d442938e.zip
New feature: basic Ajax suggestion for tags and implementation of Dojo toolkit
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@151 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'includes/js/dojox/charting/themes')
-rw-r--r--includes/js/dojox/charting/themes/ET/greys.js63
-rw-r--r--includes/js/dojox/charting/themes/GreySkies.js11
-rw-r--r--includes/js/dojox/charting/themes/PlotKit/README11
-rw-r--r--includes/js/dojox/charting/themes/PlotKit/blue.js43
-rw-r--r--includes/js/dojox/charting/themes/PlotKit/cyan.js43
-rw-r--r--includes/js/dojox/charting/themes/PlotKit/green.js43
-rw-r--r--includes/js/dojox/charting/themes/PlotKit/orange.js43
-rw-r--r--includes/js/dojox/charting/themes/PlotKit/purple.js43
-rw-r--r--includes/js/dojox/charting/themes/PlotKit/red.js43
9 files changed, 343 insertions, 0 deletions
diff --git a/includes/js/dojox/charting/themes/ET/greys.js b/includes/js/dojox/charting/themes/ET/greys.js
new file mode 100644
index 0000000..de5e805
--- /dev/null
+++ b/includes/js/dojox/charting/themes/ET/greys.js
@@ -0,0 +1,63 @@
+if(!dojo._hasResource["dojox.charting.themes.ET.greys"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
+dojo._hasResource["dojox.charting.themes.ET.greys"] = true;
+dojo.provide("dojox.charting.themes.ET.greys");
+dojo.require("dojox.charting.Theme");
+
+(function(){
+ var dxc=dojox.charting;
+ dxc.themes.ET.greys = new dxc.Theme({
+ antiAlias: false,
+ chart: {
+ stroke: null,
+ fill: "transparent"
+ },
+ plotarea: {
+ // stroke: { width: 0.2, color: "#666666" },
+ stroke: null,
+ fill: "transparent"
+ },
+ axis:{
+ stroke:{ width: 0 },
+ line:{ width: 0 },
+ majorTick:{
+ color: "#666666",
+ width: 1,
+ length: 5
+ },
+ minorTick: {
+ color: "black",
+ width: 0.5,
+ length: 2
+ },
+ font:"normal normal normal 8pt Tahoma",
+ fontColor:"#999999"
+ },
+ series:{
+ outline:{ width: 0, color: "black" },
+ stroke: { width: 1, color: "black" },
+ fill: dojo.colorFromHex("#3b444b"),
+ font: "normal normal normal 7pt Tahoma", // label
+ fontColor: "#717171"
+ },
+ marker:{ // any markers on a series.
+ stroke:{ width:1 },
+ fill:"#333",
+ font:"normal normal normal 7pt Tahoma", // label
+ fontColor:"#000"
+ },
+ colors:[]
+ });
+ dxc.themes.ET.greys.defineColors({
+ colors: [
+ // dojo.colorFromHex("#c3c3c3"),
+ dojo.colorFromHex("#8a8c8f"),
+ dojo.colorFromHex("#4b4b4b"),
+ dojo.colorFromHex("#3b444b"),
+ dojo.colorFromHex("#2e2d30"),
+ dojo.colorFromHex("#000000")
+ ]
+ });
+})();
+
+
+}
diff --git a/includes/js/dojox/charting/themes/GreySkies.js b/includes/js/dojox/charting/themes/GreySkies.js
new file mode 100644
index 0000000..da96edc
--- /dev/null
+++ b/includes/js/dojox/charting/themes/GreySkies.js
@@ -0,0 +1,11 @@
+if(!dojo._hasResource["dojox.charting.themes.GreySkies"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
+dojo._hasResource["dojox.charting.themes.GreySkies"] = true;
+dojo.provide("dojox.charting.themes.GreySkies");
+dojo.require("dojox.charting.Theme");
+
+(function(){
+ var dxc=dojox.charting;
+ dxc.themes.GreySkies=new dxc.Theme(dxc.Theme._def);
+})();
+
+}
diff --git a/includes/js/dojox/charting/themes/PlotKit/README b/includes/js/dojox/charting/themes/PlotKit/README
new file mode 100644
index 0000000..dbf4c81
--- /dev/null
+++ b/includes/js/dojox/charting/themes/PlotKit/README
@@ -0,0 +1,11 @@
+This directory contains a set of themes for the DojoX Charting
+engine that are based on the visual stylings of the PlotKit
+chart kit, created by Alastair Tse:
+
+http://www.liquidx.net/plotkit/
+
+...whose work we admire. Consider these themes to not be a
+ripoff of his fine work, but instead a true homage: his charts
+are beautiful, and we stand in awe.
+
+--trt, 2007-06-08
diff --git a/includes/js/dojox/charting/themes/PlotKit/blue.js b/includes/js/dojox/charting/themes/PlotKit/blue.js
new file mode 100644
index 0000000..5ba63bc
--- /dev/null
+++ b/includes/js/dojox/charting/themes/PlotKit/blue.js
@@ -0,0 +1,43 @@
+if(!dojo._hasResource["dojox.charting.themes.PlotKit.blue"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
+dojo._hasResource["dojox.charting.themes.PlotKit.blue"] = true;
+dojo.provide("dojox.charting.themes.PlotKit.blue");
+dojo.require("dojox.charting.Theme");
+
+(function(){
+ var dxc=dojox.charting;
+ dxc.themes.PlotKit.blue=new dxc.Theme({
+ chart:{
+ stroke:null,
+ fill: "white"
+ },
+ plotarea:{
+ stroke:null,
+ fill: "#e7eef6"
+ },
+ axis:{
+ stroke:{ color:"#fff",width:2 },
+ line:{ color:"#fff",width:1 },
+ majorTick:{ color:"#fff", width:2, length:12 },
+ minorTick:{ color:"#fff", width:1, length:8 },
+ font:"normal normal normal 8pt Tahoma",
+ fontColor:"#999"
+ },
+ series:{
+ outline:{ width: 0.1, color:"#fff" },
+ stroke:{ width: 1.5, color:"#666" },
+ fill:new dojo.Color([0x66, 0x66, 0x66, 0.8]),
+ font:"normal normal normal 7pt Tahoma", // label
+ fontColor:"#000"
+ },
+ marker:{ // any markers on a series.
+ stroke:{ width:2 },
+ fill:"#333",
+ font:"normal normal normal 7pt Tahoma", // label
+ fontColor:"#000"
+ },
+ colors:[]
+ });
+ dxc.themes.PlotKit.blue.defineColors({ hue:217, saturation:60, low:40, high:88 });
+})();
+
+}
diff --git a/includes/js/dojox/charting/themes/PlotKit/cyan.js b/includes/js/dojox/charting/themes/PlotKit/cyan.js
new file mode 100644
index 0000000..0f05638
--- /dev/null
+++ b/includes/js/dojox/charting/themes/PlotKit/cyan.js
@@ -0,0 +1,43 @@
+if(!dojo._hasResource["dojox.charting.themes.PlotKit.cyan"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
+dojo._hasResource["dojox.charting.themes.PlotKit.cyan"] = true;
+dojo.provide("dojox.charting.themes.PlotKit.cyan");
+dojo.require("dojox.charting.Theme");
+
+(function(){
+ var dxc=dojox.charting;
+ dxc.themes.PlotKit.cyan=new dxc.Theme({
+ chart:{
+ stroke:null,
+ fill: "white"
+ },
+ plotarea:{
+ stroke:null,
+ fill: "#e6f1f5"
+ },
+ axis:{
+ stroke:{ color:"#fff",width:2 },
+ line:{ color:"#fff",width:1 },
+ majorTick:{ color:"#fff", width:2, length:12 },
+ minorTick:{ color:"#fff", width:1, length:8 },
+ font:"normal normal normal 8pt Tahoma",
+ fontColor:"#999"
+ },
+ series:{
+ outline:{ width:1, color:"#fff" },
+ stroke:{ width:2, color:"#666" },
+ fill:new dojo.Color([0x66, 0x66, 0x66, 0.8]),
+ font:"normal normal normal 7pt Tahoma", // label
+ fontColor:"#000"
+ },
+ marker:{ // any markers on a series.
+ stroke:{ width:2 },
+ fill:"#333",
+ font:"normal normal normal 7pt Tahoma", // label
+ fontColor:"#000"
+ },
+ colors:[]
+ });
+ dxc.themes.PlotKit.cyan.defineColors({ hue:194, saturation:60, low:40, high:88 });
+})();
+
+}
diff --git a/includes/js/dojox/charting/themes/PlotKit/green.js b/includes/js/dojox/charting/themes/PlotKit/green.js
new file mode 100644
index 0000000..7581a5a
--- /dev/null
+++ b/includes/js/dojox/charting/themes/PlotKit/green.js
@@ -0,0 +1,43 @@
+if(!dojo._hasResource["dojox.charting.themes.PlotKit.green"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
+dojo._hasResource["dojox.charting.themes.PlotKit.green"] = true;
+dojo.provide("dojox.charting.themes.PlotKit.green");
+dojo.require("dojox.charting.Theme");
+
+(function(){
+ var dxc=dojox.charting;
+ dxc.themes.PlotKit.green=new dxc.Theme({
+ chart:{
+ stroke:null,
+ fill: "white"
+ },
+ plotarea:{
+ stroke:null,
+ fill: "#eff5e6"
+ },
+ axis:{
+ stroke:{ color:"#fff",width:2 },
+ line:{ color:"#fff",width:1 },
+ majorTick:{ color:"#fff", width:2, length:12 },
+ minorTick:{ color:"#fff", width:1, length:8 },
+ font:"normal normal normal 8pt Tahoma",
+ fontColor:"#999"
+ },
+ series:{
+ outline:{ width:1, color:"#fff" },
+ stroke:{ width:2, color:"#666" },
+ fill:new dojo.Color([0x66, 0x66, 0x66, 0.8]),
+ font:"normal normal normal 7pt Tahoma", // label
+ fontColor:"#000"
+ },
+ marker:{ // any markers on a series.
+ stroke:{ width:2 },
+ fill:"#333",
+ font:"normal normal normal 7pt Tahoma", // label
+ fontColor:"#000"
+ },
+ colors:[]
+ });
+ dxc.themes.PlotKit.green.defineColors({ hue:82, saturation:60, low:40, high:88 });
+})();
+
+}
diff --git a/includes/js/dojox/charting/themes/PlotKit/orange.js b/includes/js/dojox/charting/themes/PlotKit/orange.js
new file mode 100644
index 0000000..1693610
--- /dev/null
+++ b/includes/js/dojox/charting/themes/PlotKit/orange.js
@@ -0,0 +1,43 @@
+if(!dojo._hasResource["dojox.charting.themes.PlotKit.orange"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
+dojo._hasResource["dojox.charting.themes.PlotKit.orange"] = true;
+dojo.provide("dojox.charting.themes.PlotKit.orange");
+dojo.require("dojox.charting.Theme");
+
+(function(){
+ var dxc=dojox.charting;
+ dxc.themes.PlotKit.orange=new dxc.Theme({
+ chart:{
+ stroke:null,
+ fill: "white"
+ },
+ plotarea:{
+ stroke:null,
+ fill: "#f5eee6"
+ },
+ axis:{
+ stroke:{ color:"#fff",width:2 },
+ line:{ color:"#fff",width:1 },
+ majorTick:{ color:"#fff", width:2, length:12 },
+ minorTick:{ color:"#fff", width:1, length:8 },
+ font:"normal normal normal 8pt Tahoma",
+ fontColor:"#999"
+ },
+ series:{
+ outline:{ width:0.15, color: "#fff" },
+ stroke:{ width:1.5, color: "#666" },
+ fill:new dojo.Color([0x66, 0x66, 0x66, 0.8]),
+ font:"normal normal normal 7pt Tahoma", // label
+ fontColor:"#000"
+ },
+ marker:{ // any markers on a series.
+ stroke:{ width:2 },
+ fill:"#333",
+ font:"normal normal normal 7pt Tahoma", // label
+ fontColor:"#000"
+ },
+ colors:[]
+ });
+ dxc.themes.PlotKit.orange.defineColors({ hue:31, saturation:60, low:40, high:88 });
+})();
+
+}
diff --git a/includes/js/dojox/charting/themes/PlotKit/purple.js b/includes/js/dojox/charting/themes/PlotKit/purple.js
new file mode 100644
index 0000000..a54d0cc
--- /dev/null
+++ b/includes/js/dojox/charting/themes/PlotKit/purple.js
@@ -0,0 +1,43 @@
+if(!dojo._hasResource["dojox.charting.themes.PlotKit.purple"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
+dojo._hasResource["dojox.charting.themes.PlotKit.purple"] = true;
+dojo.provide("dojox.charting.themes.PlotKit.purple");
+dojo.require("dojox.charting.Theme");
+
+(function(){
+ var dxc=dojox.charting;
+ dxc.themes.PlotKit.purple=new dxc.Theme({
+ chart:{
+ stroke:null,
+ fill: "white"
+ },
+ plotarea:{
+ stroke:null,
+ fill: "#eee6f5"
+ },
+ axis:{
+ stroke:{ color:"#fff",width:2 },
+ line:{ color:"#fff",width:1 },
+ majorTick:{ color:"#fff", width:2, length:12 },
+ minorTick:{ color:"#fff", width:1, length:8 },
+ font:"normal normal normal 8pt Tahoma",
+ fontColor:"#999"
+ },
+ series:{
+ outline:{ width:1, color:"#fff" },
+ stroke:{ width:2, color:"#666" },
+ fill:new dojo.Color([0x66, 0x66, 0x66, 0.8]),
+ font:"normal normal normal 7pt Tahoma", // label
+ fontColor:"#000"
+ },
+ marker:{ // any markers on a series.
+ stroke:{ width:2 },
+ fill:"#333",
+ font:"normal normal normal 7pt Tahoma", // label
+ fontColor:"#000"
+ },
+ colors:[]
+ });
+ dxc.themes.PlotKit.purple.defineColors({ hue:271, saturation:60, low:40, high:88 });
+})();
+
+}
diff --git a/includes/js/dojox/charting/themes/PlotKit/red.js b/includes/js/dojox/charting/themes/PlotKit/red.js
new file mode 100644
index 0000000..607090b
--- /dev/null
+++ b/includes/js/dojox/charting/themes/PlotKit/red.js
@@ -0,0 +1,43 @@
+if(!dojo._hasResource["dojox.charting.themes.PlotKit.red"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
+dojo._hasResource["dojox.charting.themes.PlotKit.red"] = true;
+dojo.provide("dojox.charting.themes.PlotKit.red");
+dojo.require("dojox.charting.Theme");
+
+(function(){
+ var dxc=dojox.charting;
+ dxc.themes.PlotKit.red=new dxc.Theme({
+ chart:{
+ stroke:null,
+ fill: "white"
+ },
+ plotarea:{
+ stroke:null,
+ fill: "#f5e6e6"
+ },
+ axis:{
+ stroke:{ color:"#fff",width:2 },
+ line:{ color:"#fff",width:1 },
+ majorTick:{ color:"#fff", width:2, length:12 },
+ minorTick:{ color:"#fff", width:1, length:8 },
+ font:"normal normal normal 8pt Tahoma",
+ fontColor:"#999"
+ },
+ series:{
+ outline:{ width:1, color:"#fff" },
+ stroke:{ width:2, color:"#666" },
+ fill:new dojo.Color([0x66, 0x66, 0x66, 0.8]),
+ font:"normal normal normal 7pt Tahoma", // label
+ fontColor:"#000"
+ },
+ marker:{ // any markers on a series.
+ stroke:{ width:2 },
+ fill:"#333",
+ font:"normal normal normal 7pt Tahoma", // label
+ fontColor:"#000"
+ },
+ colors:[]
+ });
+ dxc.themes.PlotKit.red.defineColors({ hue:1, saturation:60, low:40, high:88 });
+})();
+
+}