openui5-financial-charts
Version:
OpenUI5 Financial Charts based on d3.js
1 lines • 493 B
JavaScript
sap.ui.define(["./SeriesItem","./library"],function(t){"use strict";return t.extend("openui5.financial.chart.Candle",{metadata:{properties:{open:"float",high:"float",low:"float",close:"float"}},setOpen:function(t){this.setProperty("open",t,true)},setHigh:function(t){this.setProperty("high",t,true)},setLow:function(t){this.setProperty("low",t,true)},setClose:function(t){this.setProperty("close",t,true)},_getMin:function(){return this.getLow()},_getMax:function(){return this.getHigh()}})});