@progress/kendo-charts 1.32.1-dev.202310240903 → 1.32.1-dev.202310241001
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/js/kendo-charts.js +1 -1
- package/dist/cdn/main.js +1 -1
- package/dist/es/chart/candlestick-chart/candlestick-chart.js +2 -2
- package/dist/es2015/chart/candlestick-chart/candlestick-chart.js +2 -2
- package/dist/npm/main.js +2 -2
- package/dist/systemjs/kendo-charts.js +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import ClusterLayout from '../layout/cluster-layout';
|
|
|
3
3
|
import Candlestick from './candlestick';
|
|
4
4
|
|
|
5
5
|
import ClipAnimationMixin from '../mixins/clip-animation-mixin';
|
|
6
|
-
import { CANDLESTICK } from '../constants';
|
|
6
|
+
import { CANDLESTICK, OHLC } from '../constants';
|
|
7
7
|
import areNumbers from '../utils/are-numbers';
|
|
8
8
|
|
|
9
9
|
import { MIN_VALUE, MAX_VALUE } from '../../common/constants';
|
|
@@ -92,7 +92,7 @@ var CandlestickChart = (function (CategoricalChart) {
|
|
|
92
92
|
|
|
93
93
|
pointOptions = this.evalPointOptions(pointOptions, value, fields);
|
|
94
94
|
|
|
95
|
-
if (series.type === CANDLESTICK) {
|
|
95
|
+
if (series.type === CANDLESTICK || series.type === OHLC) {
|
|
96
96
|
if (value.open > value.close) {
|
|
97
97
|
color = data.fields.downColor || series.downColor || series.color;
|
|
98
98
|
}
|
|
@@ -3,7 +3,7 @@ import ClusterLayout from '../layout/cluster-layout';
|
|
|
3
3
|
import Candlestick from './candlestick';
|
|
4
4
|
|
|
5
5
|
import ClipAnimationMixin from '../mixins/clip-animation-mixin';
|
|
6
|
-
import { CANDLESTICK } from '../constants';
|
|
6
|
+
import { CANDLESTICK, OHLC } from '../constants';
|
|
7
7
|
import areNumbers from '../utils/are-numbers';
|
|
8
8
|
|
|
9
9
|
import { MIN_VALUE, MAX_VALUE } from '../../common/constants';
|
|
@@ -80,7 +80,7 @@ class CandlestickChart extends CategoricalChart {
|
|
|
80
80
|
|
|
81
81
|
pointOptions = this.evalPointOptions(pointOptions, value, fields);
|
|
82
82
|
|
|
83
|
-
if (series.type === CANDLESTICK) {
|
|
83
|
+
if (series.type === CANDLESTICK || series.type === OHLC) {
|
|
84
84
|
if (value.open > value.close) {
|
|
85
85
|
color = data.fields.downColor || series.downColor || series.color;
|
|
86
86
|
}
|