mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-11 17:58:41 +00:00
26 lines
583 B
JavaScript
26 lines
583 B
JavaScript
(function (jsOMS)
|
|
{
|
|
"use strict";
|
|
|
|
jsOMS.Chart.OhlcChart = function (id)
|
|
{
|
|
this.chart = new jsOMS.Chart.CandlestickChart(id);
|
|
this.chart.getChart().subtype = 'ohlc';
|
|
};
|
|
|
|
jsOMS.Chart.OhlcChart.prototype.getChart = function ()
|
|
{
|
|
return this.chart.getChart();
|
|
};
|
|
|
|
jsOMS.Chart.OhlcChart.prototype.setData = function (data)
|
|
{
|
|
this.chart.setData(data);
|
|
};
|
|
|
|
jsOMS.Chart.OhlcChart.prototype.draw = function ()
|
|
{
|
|
return this.chart.draw();
|
|
};
|
|
}(window.jsOMS = window.jsOMS || {}));
|