From 20c75c45d8888e44b9b58b8ba67c6b5b2e8e7876 Mon Sep 17 00:00:00 2001 From: "Kunal Chavda (OpenERP)" Date: Fri, 8 Apr 2011 14:20:05 +0530 Subject: [IMP]Initialy show bar chart with data. bzr revid: kch@tinyerp.com-20110408085005-hv9jv2wcfopnxrgm --- .../samples/01_initialization/01_load_xml.html | 70 +++++++ .../samples/01_initialization/02_load_json.html | 63 +++++++ .../samples/01_initialization/03_load_csv.html | 65 +++++++ .../samples/01_initialization/04_load_jsarray.html | 68 +++++++ .../samples/01_initialization/05_series.html | 119 ++++++++++++ .../dhtmlxGraph/samples/02_color/01_default.html | 66 +++++++ .../dhtmlxGraph/samples/02_color/02_custom.html | 67 +++++++ .../samples/02_color/03_custom_logic.html | 77 ++++++++ .../dhtmlxGraph/samples/02_color/04_gradient.html | 64 +++++++ .../lib/dhtmlxGraph/samples/03_group/01_basic.html | 96 ++++++++++ .../dhtmlxGraph/samples/03_group/02_scales.html | 126 +++++++++++++ .../dhtmlxGraph/samples/04_pie_chart/01_init.html | 67 +++++++ .../dhtmlxGraph/samples/04_pie_chart/02_text.html | 52 ++++++ .../samples/04_pie_chart/03_3d_chart.html | 48 +++++ .../samples/04_pie_chart/04_legend.html | 81 ++++++++ .../dhtmlxGraph/samples/05_line_chart/01_init.html | 55 ++++++ .../samples/05_line_chart/02_style.html | 153 +++++++++++++++ .../samples/05_line_chart/03_scale.html | 101 ++++++++++ .../samples/05_line_chart/04_spline.html | 57 ++++++ .../samples/05_line_chart/05_series.html | 94 ++++++++++ .../dhtmlxGraph/samples/06_bar_chart/01_init.html | 74 ++++++++ .../dhtmlxGraph/samples/06_bar_chart/02_text.html | 80 ++++++++ .../samples/06_bar_chart/03_scales.html | 99 ++++++++++ .../samples/06_bar_chart/04_styles.html | 207 +++++++++++++++++++++ .../samples/06_bar_chart/05_stacked_chart.html | 87 +++++++++ .../samples/06_bar_chart/06_series.html | 81 ++++++++ .../samples/06_bar_chart/07_horizonal_bars.html | 120 ++++++++++++ .../06_bar_chart/08_horizonal_stacked_bars.html | 75 ++++++++ .../dhtmlxGraph/samples/07_area_chart/01_init.html | 55 ++++++ .../samples/07_area_chart/02_scale.html | 101 ++++++++++ .../samples/07_area_chart/03_series.html | 90 +++++++++ .../samples/07_area_chart/03_stacked_area.html | 88 +++++++++ .../lib/dhtmlxGraph/samples/08_dynamic/01_add.html | 83 +++++++++ .../dhtmlxGraph/samples/08_dynamic/02_events.html | 96 ++++++++++ .../dhtmlxGraph/samples/08_dynamic/03_sorting.html | 73 ++++++++ .../samples/08_dynamic/04_filtering.html | 81 ++++++++ .../samples/09_integration/01_dhtmlxgrid.html | 70 +++++++ .../09_integration/02_dhtmlxgrid_group.html | 79 ++++++++ .../samples/09_integration/03_windows.html | 77 ++++++++ .../lib/dhtmlxGraph/samples/common/config.php | 13 ++ .../static/lib/dhtmlxGraph/samples/common/data.php | 16 ++ .../lib/dhtmlxGraph/samples/common/sales.xml | 46 +++++ .../static/lib/dhtmlxGraph/samples/common/stat.xml | 1 + .../static/lib/dhtmlxGraph/samples/readme.txt | 7 + 44 files changed, 3388 insertions(+) create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/01_initialization/01_load_xml.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/01_initialization/02_load_json.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/01_initialization/03_load_csv.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/01_initialization/04_load_jsarray.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/01_initialization/05_series.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/02_color/01_default.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/02_color/02_custom.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/02_color/03_custom_logic.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/02_color/04_gradient.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/03_group/01_basic.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/03_group/02_scales.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/04_pie_chart/01_init.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/04_pie_chart/02_text.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/04_pie_chart/03_3d_chart.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/04_pie_chart/04_legend.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/05_line_chart/01_init.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/05_line_chart/02_style.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/05_line_chart/03_scale.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/05_line_chart/04_spline.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/05_line_chart/05_series.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/01_init.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/02_text.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/03_scales.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/04_styles.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/05_stacked_chart.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/06_series.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/07_horizonal_bars.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/08_horizonal_stacked_bars.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/07_area_chart/01_init.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/07_area_chart/02_scale.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/07_area_chart/03_series.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/07_area_chart/03_stacked_area.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/08_dynamic/01_add.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/08_dynamic/02_events.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/08_dynamic/03_sorting.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/08_dynamic/04_filtering.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/09_integration/01_dhtmlxgrid.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/09_integration/02_dhtmlxgrid_group.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/09_integration/03_windows.html create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/common/config.php create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/common/data.php create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/common/sales.xml create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/common/stat.xml create mode 100644 addons/base_graph/static/lib/dhtmlxGraph/samples/readme.txt (limited to 'addons/base_graph/static/lib/dhtmlxGraph/samples') diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/01_initialization/01_load_xml.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/01_initialization/01_load_xml.html new file mode 100644 index 00000000000..e720ba8ee3e --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/01_initialization/01_load_xml.html @@ -0,0 +1,70 @@ + + + + + Data Loading: XML + + + + + + + + +

Chart data can be loaded from different sources: xml,json,JS array,csv
This samples demonstrates loading from xml file.

+
+
+ + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/01_initialization/02_load_json.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/01_initialization/02_load_json.html new file mode 100644 index 00000000000..e2ce20ae764 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/01_initialization/02_load_json.html @@ -0,0 +1,63 @@ + + + + + Data Loading: JSON + + + + + + + +
+
+ + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/01_initialization/03_load_csv.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/01_initialization/03_load_csv.html new file mode 100644 index 00000000000..64c39cfaef1 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/01_initialization/03_load_csv.html @@ -0,0 +1,65 @@ + + + + + Data Loading: CSV + + + + + + + +

When data are loaded from CSV string, you should use "data" and field index to define field in the template, for example, "#data0#","#data1#",etc.
Charts in this sample represents values in the first column. Therefore, we have set value:"#data0#" in a chart contructor.

+
+
+ + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/01_initialization/04_load_jsarray.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/01_initialization/04_load_jsarray.html new file mode 100644 index 00000000000..023cb0a503a --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/01_initialization/04_load_jsarray.html @@ -0,0 +1,68 @@ + + + + + Data Loading: JS array + + + + + + + + +

When data are loaded from JS array, you should use "data" and field index to define field in the template, for example, "#data0#","#data1#",etc.
Charts in this sample represents values in the first column. Therefore, we have set value:"#data0#" in a chart contructor.

+
+
+ + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/01_initialization/05_series.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/01_initialization/05_series.html new file mode 100644 index 00000000000..0600c05741d --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/01_initialization/05_series.html @@ -0,0 +1,119 @@ + + + + + PieChart: Initiazation + + + + +

BarChart: Scales

+ + + + + + + + + + +
Automatic vertical scaleCustom vertical scale
+ + + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/02_color/01_default.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/02_color/01_default.html new file mode 100644 index 00000000000..39b2f5e3865 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/02_color/01_default.html @@ -0,0 +1,66 @@ + + + + + Colors: default + + + + + + + +

Chart colors are defined by color property. If it is not set, chart is colored using "rainbow" algorithm.

+
+
+ + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/02_color/02_custom.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/02_color/02_custom.html new file mode 100644 index 00000000000..8157a8f82b2 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/02_color/02_custom.html @@ -0,0 +1,67 @@ + + + + + Colors: custom colors + + + + + + + +

Colors can be defined with template. In this sample colors and defined in data by "color" field.

+
+
+ + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/02_color/03_custom_logic.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/02_color/03_custom_logic.html new file mode 100644 index 00000000000..e88c37b3283 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/02_color/03_custom_logic.html @@ -0,0 +1,77 @@ + + + + + Colors: custom logic + + + + + + + +

Colors can be defined using function. In this sample color of bars depends on sales value, and colors of pie sectors are alternative.

+
+
+ + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/02_color/04_gradient.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/02_color/04_gradient.html new file mode 100644 index 00000000000..973d9cdc008 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/02_color/04_gradient.html @@ -0,0 +1,64 @@ + + + + + Colors: color gradient + + + + + + + + + +

The color of Bar Chart can be defined by gradient property.
+ In this case you should set a function that takes a gradient object as an argument. And using addColorStop you may define colors for chart.

+
+ + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/03_group/01_basic.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/03_group/01_basic.html new file mode 100644 index 00000000000..401dbdae24f --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/03_group/01_basic.html @@ -0,0 +1,96 @@ + + + + + Grouping and Sorting + + + + + + + + +

It's possible to group chart data by a certain property. You may use group method or group property in a chart constructor.

+
+ + +
+ + + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/03_group/02_scales.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/03_group/02_scales.html new file mode 100644 index 00000000000..75746062b29 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/03_group/02_scales.html @@ -0,0 +1,126 @@ + + + + + Scales and grouping + + + + + + + + +

To update configuration properties after grouping you need to cal define method with new settings.

+
+
+ + +

+ + + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/04_pie_chart/01_init.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/04_pie_chart/01_init.html new file mode 100644 index 00000000000..63c82ecf42c --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/04_pie_chart/01_init.html @@ -0,0 +1,67 @@ + + + + + Initialization + + + + + + + + + + + + + + +
Pie chart with Automatic radius and center positionPie chart with Custom radius and center position
+ + + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/04_pie_chart/02_text.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/04_pie_chart/02_text.html new file mode 100644 index 00000000000..7ba118f19e2 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/04_pie_chart/02_text.html @@ -0,0 +1,52 @@ + + + + + Labels + + + + + +

There are two properties to define sectors labels: +

  • label - defines text outside sectors
  • +
  • pieInnerText - set text inside sectors
  • +

    + +
    + + + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/04_pie_chart/03_3d_chart.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/04_pie_chart/03_3d_chart.html new file mode 100644 index 00000000000..957f7ed7954 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/04_pie_chart/03_3d_chart.html @@ -0,0 +1,48 @@ + + + + + 3D view + + + + + +
    + + + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/04_pie_chart/04_legend.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/04_pie_chart/04_legend.html new file mode 100644 index 00000000000..2d5c45c0151 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/04_pie_chart/04_legend.html @@ -0,0 +1,81 @@ + + + + + Details Block + + + + + +

    Pie Chart provides property "details" that displayes informationa about all sectors in a separate block.

    + + + + + + + + + + +
    PieChart with default details blockPieChart with custom details block
    + + + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/05_line_chart/01_init.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/05_line_chart/01_init.html new file mode 100644 index 00000000000..626a1e216fe --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/05_line_chart/01_init.html @@ -0,0 +1,55 @@ + + + + + Initialization + + + + + +
    + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/05_line_chart/02_style.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/05_line_chart/02_style.html new file mode 100644 index 00000000000..39dfe7eb41f --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/05_line_chart/02_style.html @@ -0,0 +1,153 @@ + + + + + Style definition + + + + + + + + + + + + + + +
    + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/05_line_chart/03_scale.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/05_line_chart/03_scale.html new file mode 100644 index 00000000000..161cbf7ee53 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/05_line_chart/03_scale.html @@ -0,0 +1,101 @@ + + + + + Scales + + + + + + + + + + + + + + +
    Automatic vertical scaleCustom vertical scale
    + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/05_line_chart/04_spline.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/05_line_chart/04_spline.html new file mode 100644 index 00000000000..4f266ee8983 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/05_line_chart/04_spline.html @@ -0,0 +1,57 @@ + + + + + Initialization + + + + + +
    + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/05_line_chart/05_series.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/05_line_chart/05_series.html new file mode 100644 index 00000000000..532cd385519 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/05_line_chart/05_series.html @@ -0,0 +1,94 @@ + + + + + Scales + + + + + + + + + +
    + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/01_init.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/01_init.html new file mode 100644 index 00000000000..e31ae20dd39 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/01_init.html @@ -0,0 +1,74 @@ + + + + + PieChart: Initiazation + + + + + +

    BarChart: Initiazation

    + + + + + + + + + + +
    + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/02_text.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/02_text.html new file mode 100644 index 00000000000..ee378b194f1 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/02_text.html @@ -0,0 +1,80 @@ + + + + + PieChart: Initiazation + + + + +

    BarChart: Initiazation

    + + + + + + + + + + +
    + + + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/03_scales.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/03_scales.html new file mode 100644 index 00000000000..edc1f6ca45d --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/03_scales.html @@ -0,0 +1,99 @@ + + + + + PieChart: Initiazation + + + + +

    BarChart: Scales

    + + + + + + + + + + +
    Custom vertical scale and originAutomatic vertical scale
    + + + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/04_styles.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/04_styles.html new file mode 100644 index 00000000000..0877a95de16 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/04_styles.html @@ -0,0 +1,207 @@ + + + + + Chart + + + + +

    Chart

    + + + + + + + + + + + + + + + +
    + + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/05_stacked_chart.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/05_stacked_chart.html new file mode 100644 index 00000000000..d165d0bd488 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/05_stacked_chart.html @@ -0,0 +1,87 @@ + + + + + StackedBar Chart + + + + +

    StackedBar Chart

    +
    + + + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/06_series.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/06_series.html new file mode 100644 index 00000000000..3c5fb695692 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/06_series.html @@ -0,0 +1,81 @@ + + + + + Series + + + + +

    Series

    + +
    + + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/07_horizonal_bars.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/07_horizonal_bars.html new file mode 100644 index 00000000000..6c8046c5855 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/07_horizonal_bars.html @@ -0,0 +1,120 @@ + + + + + Horizontal bar Chart + + + + +

    Horizontal bar Chart

    + + + + + + + +
    + + + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/08_horizonal_stacked_bars.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/08_horizonal_stacked_bars.html new file mode 100644 index 00000000000..fe4d8509376 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/06_bar_chart/08_horizonal_stacked_bars.html @@ -0,0 +1,75 @@ + + + + + Horizontal Stacked Bars + + + + + +
    + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/07_area_chart/01_init.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/07_area_chart/01_init.html new file mode 100644 index 00000000000..5195e7476e1 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/07_area_chart/01_init.html @@ -0,0 +1,55 @@ + + + + + Initialization + + + + + +
    + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/07_area_chart/02_scale.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/07_area_chart/02_scale.html new file mode 100644 index 00000000000..e3d65bd6d55 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/07_area_chart/02_scale.html @@ -0,0 +1,101 @@ + + + + + Scales + + + + + + + + + + + + + + + +
    Custom vertical scaleAutomatic vertical scale
    + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/07_area_chart/03_series.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/07_area_chart/03_series.html new file mode 100644 index 00000000000..c071386c348 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/07_area_chart/03_series.html @@ -0,0 +1,90 @@ + + + + + Scales + + + + + + +
    + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/07_area_chart/03_stacked_area.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/07_area_chart/03_stacked_area.html new file mode 100644 index 00000000000..55fccb93e84 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/07_area_chart/03_stacked_area.html @@ -0,0 +1,88 @@ + + + + + Scales + + + + + + +
    + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/08_dynamic/01_add.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/08_dynamic/01_add.html new file mode 100644 index 00000000000..7a3b45f8cee --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/08_dynamic/01_add.html @@ -0,0 +1,83 @@ + + + + + Adding + + + + + + + + + +
    + + + + + + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/08_dynamic/02_events.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/08_dynamic/02_events.html new file mode 100644 index 00000000000..495d42bf795 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/08_dynamic/02_events.html @@ -0,0 +1,96 @@ + + + + + Events + + + + + + + + + +
    +
    + + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/08_dynamic/03_sorting.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/08_dynamic/03_sorting.html new file mode 100644 index 00000000000..cb8b254fe10 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/08_dynamic/03_sorting.html @@ -0,0 +1,73 @@ + + + + + Sorting + + + + + + + + + +
    + + + + + + + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/08_dynamic/04_filtering.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/08_dynamic/04_filtering.html new file mode 100644 index 00000000000..230aa820800 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/08_dynamic/04_filtering.html @@ -0,0 +1,81 @@ + + + + + Filtering + + + + + + + + + +
    + + + + + + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/09_integration/01_dhtmlxgrid.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/09_integration/01_dhtmlxgrid.html new file mode 100644 index 00000000000..698da15d9fd --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/09_integration/01_dhtmlxgrid.html @@ -0,0 +1,70 @@ + + + + + + Integration with grid + + + + + + + + + + + + + +
    +
    +
    + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/09_integration/02_dhtmlxgrid_group.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/09_integration/02_dhtmlxgrid_group.html new file mode 100644 index 00000000000..d911e209922 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/09_integration/02_dhtmlxgrid_group.html @@ -0,0 +1,79 @@ + + + + + + Integration with Grid and Grouping + + + + + + + + + + + + + +
    +
    +
    + + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/09_integration/03_windows.html b/addons/base_graph/static/lib/dhtmlxGraph/samples/09_integration/03_windows.html new file mode 100644 index 00000000000..822e621d9ca --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/09_integration/03_windows.html @@ -0,0 +1,77 @@ + + + + + + Integration with dhtmlxWindows + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/common/config.php b/addons/base_graph/static/lib/dhtmlxGraph/samples/common/config.php new file mode 100644 index 00000000000..3695ac3905a --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/common/config.php @@ -0,0 +1,13 @@ + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/common/data.php b/addons/base_graph/static/lib/dhtmlxGraph/samples/common/data.php new file mode 100644 index 00000000000..ac8f5116a9d --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/common/data.php @@ -0,0 +1,16 @@ +"; + +for ($i=1; $i <= 100; $i++) { + $sales = rand(100,1000); + $year = rand(1996,2009); + $company = "Company ".rand(1,3); + $str.=""; +} + +$str .= ""; + +file_put_contents("stat.xml",$str); + +?> \ No newline at end of file diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/common/sales.xml b/addons/base_graph/static/lib/dhtmlxGraph/samples/common/sales.xml new file mode 100644 index 00000000000..03c153cb1e5 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/common/sales.xml @@ -0,0 +1,46 @@ + + + 2.9 + 2000 + + + 3.5 + 2001 + + + 3.1 + 2002 + + + 4.2 + 2003 + + + 4.5 + 2004 + + + 7.4 + 2005 + + + 9.6 + 2006 + + + 9 + 2007 + + + 7.3 + 2008 + + + 5.8 + 2009 + + + 7.7 + 2010 + + diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/common/stat.xml b/addons/base_graph/static/lib/dhtmlxGraph/samples/common/stat.xml new file mode 100644 index 00000000000..824ff6f6829 --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/common/stat.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/readme.txt b/addons/base_graph/static/lib/dhtmlxGraph/samples/readme.txt new file mode 100644 index 00000000000..c1f4b60567c --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/readme.txt @@ -0,0 +1,7 @@ +Next samples + 08_integration\01_dhtmlxgrid.html + 08_integration\02_dhtmlxgrid_group.html + 08_integration\03_layout.html +requires external components ( dhtmlxgrid and dhtmlxwindow ) + +Its recommended to run samples through any kind of webserver. -- cgit v1.2.3