mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-11 09:58:39 +00:00
27 lines
703 B
JavaScript
Executable File
27 lines
703 B
JavaScript
Executable File
(function (jsOMS)
|
|
{
|
|
"use strict";
|
|
|
|
jsOMS.Chart.DiffAreaChart = function (id)
|
|
{
|
|
this.chart = new jsOMS.Chart.LineChart(id);
|
|
this.chart.getChart().dataSettings.marker.visible = false;
|
|
this.chart.getChart().subtype = 'diffarea';
|
|
};
|
|
|
|
jsOMS.Chart.DiffAreaChart.prototype.getChart = function ()
|
|
{
|
|
return this.chart.getChart();
|
|
};
|
|
|
|
jsOMS.Chart.DiffAreaChart.prototype.setData = function (data)
|
|
{
|
|
this.chart.setData(data);
|
|
};
|
|
|
|
jsOMS.Chart.DiffAreaChart.prototype.draw = function ()
|
|
{
|
|
return this.chart.draw();
|
|
};
|
|
}(window.jsOMS = window.jsOMS || {}));
|