jsOMS/Chart/OhlcChart.js
2022-02-19 13:57:39 +01:00

26 lines
583 B
JavaScript
Executable File

(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 || {}));