Skip to content

Commit 67150ad

Browse files
committed
Release 8.2.0
1 parent 8507e3e commit 67150ad

File tree

273 files changed

+12181
-9466
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

273 files changed

+12181
-9466
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Oracle JET version 8.1.0
1+
# Oracle JET version 8.2.0
22

33
## About Oracle JET
44
Oracle JET is targeted at intermediate to advanced JavaScript developers working on client-side applications. It's a collection of open source JavaScript libraries along with a set of Oracle contributed JavaScript libraries that make it as simple and efficient as possible to build applications that consume and interact with Oracle products and services, especially Oracle Cloud services.
@@ -34,13 +34,13 @@ npm install -g @oracle/ojet-cli
3434
3535
ojet create <app name>
3636
```
37-
See the [Oracle JET Developer Guide](http://www.oracle.com/pls/topic/lookup?ctx=jet810&id=homepage) for complete installation details, including prerequisites.
37+
See the [Oracle JET Developer Guide](http://www.oracle.com/pls/topic/lookup?ctx=jet820&id=homepage) for complete installation details, including prerequisites.
3838

3939
## Related GitHub Projects
4040
All related projects on GitHub are associated under the [oracle-jet topic](https://github.com/search?q=topic%3Aoracle-jet+org%3Aoracle&type=Repositories).
4141

42-
## [Documentation](http://www.oracle.com/pls/topic/lookup?ctx=jet810&id=homepage)
43-
Oracle JET comes with a full [Developers Guide](http://www.oracle.com/pls/topic/lookup?ctx=jet810&id=homepage) to help with Getting Started and many common issues.
42+
## [Documentation](http://www.oracle.com/pls/topic/lookup?ctx=jet820&id=homepage)
43+
Oracle JET comes with a full [Developers Guide](http://www.oracle.com/pls/topic/lookup?ctx=jet820&id=homepage) to help with Getting Started and many common issues.
4444

4545
## [Contributing](https://github.com/oracle/oraclejet/blob/master/CONTRIBUTING.md)
4646
Oracle JET is an open source project. Pull Requests are currently not being accepted. See

THIRDPARTYLICENSE.txt

+8-8
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,20 @@ js/libs/jquery/jqueryui-amd-1.12.1/sortable.js MIT
2626
js/libs/jquery/jqueryui-amd-1.12.1/widget.js MIT
2727
js/libs/knockout/knockout-3.5.0.js MIT
2828
js/libs/knockout/knockout-mapping-latest.js MIT
29-
js/libs/oj/v8.1.0/min/ojcspexpressionevaluator.js (cspexpressionevaluator.js) MIT
30-
js/libs/oj/v8.1.0/min/ojexpparser.js (expparser.js) MIT
31-
js/libs/oj/v8.1.0/min/ojknockout.js (knockout-fast-foreach.js) MIT
32-
js/libs/oj/v8.1.0/min/ojselectcombobox.js (Select2.js) Apache 2.0
33-
js/libs/oj/v8.1.0/min/ojtree.js (jsTree.js) MIT
34-
js/libs/oj/v8.1.0/ojL10n.js (requireJS i18n) MIT
29+
js/libs/oj/v8.2.0/min/ojcspexpressionevaluator.js (cspexpressionevaluator.js) MIT
30+
js/libs/oj/v8.2.0/min/ojexpparser.js (expparser.js) MIT
31+
js/libs/oj/v8.2.0/min/ojknockout.js (knockout-fast-foreach.js) MIT
32+
js/libs/oj/v8.2.0/min/ojselectcombobox.js (Select2.js) Apache 2.0
33+
js/libs/oj/v8.2.0/min/ojtree.js (jsTree.js) MIT
34+
js/libs/oj/v8.2.0/ojL10n.js (requireJS i18n) MIT
3535
js/libs/proj4js/dist/proj4.js Proj4js
3636
js/libs/require/require.js MIT
3737
js/libs/require/text.js MIT
3838
js/libs/require-css/css.min.js (require-css) MIT
3939
js/libs/webcomponents/custom-elements.min.js custom-elements
40-
scss/oj/v8.1.0/3rdparty/normalize/normalize.scss MIT
40+
scss/oj/v8.2.0/3rdparty/normalize/normalize.scss MIT
4141
js/libs/touchr/touchr.js MIT
42-
js/libs/oj/v8.1.0/min/ojvcomponent.js (petit-dom.js) MIT
42+
js/libs/oj/v8.2.0/min/ojvcomponent.js (petit-dom.js) MIT
4343

4444
/*
4545
* expression-eval - v2.0.0

dist/css/alta-android/oj-alta-min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/alta-android/oj-alta.css

+7-3
Original file line numberDiff line numberDiff line change
@@ -12206,6 +12206,9 @@ html .oj-form-control {
1220612206
min-width: 1em;
1220712207
height: 100%; }
1220812208

12209+
.oj-form-control-inherit:not(.oj-form-control-default) .oj-text-field-middle {
12210+
width: 100%; }
12211+
1220912212
/* when the label is inside or above, we must set the max-width of the component to
1221012213
100%. Otherwise some components like input text, whose max-width is decided by
1221112214
oj-text-field-lg-max-width looks so different from other components like radioset
@@ -12234,7 +12237,7 @@ html .oj-form-control {
1223412237

1223512238
/* consolidating styles - start
1223612239
*/
12237-
.oj-text-field:not(oj-select-one):not(oj-select-many):not(oj-combobox-one):not(oj-combobox-many) {
12240+
.oj-inputtext, .oj-inputpassword, .oj-textarea, .oj-inputnumber, .oj-inputdatetime, .oj-searchselect {
1223812241
display: inline-block;
1223912242
font-size: 1rem;
1224012243
/* use a width of 100% and then max and min width so that when
@@ -12245,7 +12248,7 @@ html .oj-form-control {
1224512248
width: 100%;
1224612249
box-sizing: border-box; }
1224712250
@media screen and (max-width: 767.9px) {
12248-
.oj-text-field:not(oj-select-one):not(oj-select-many):not(oj-combobox-one):not(oj-combobox-many) {
12251+
.oj-inputtext, .oj-inputpassword, .oj-textarea, .oj-inputnumber, .oj-inputdatetime, .oj-searchselect {
1224912252
-webkit-text-size-adjust: 100%; } }
1225012253

1225112254
.oj-form-control-full-width.oj-text-field,
@@ -13700,7 +13703,8 @@ oj-calendar:not(.oj-complete) {
1370013703
-webkit-text-size-adjust: 100%; } }
1370113704

1370213705
.oj-inputdatetime-inline {
13703-
display: inline-block; }
13706+
display: inline-block;
13707+
max-width: 277px; }
1370413708

1370513709
.oj-form-control-full-width.oj-inputdatetime,
1370613710
.oj-form-control-full-width.oj-inputdatetime-date-time,

dist/css/alta-ios/oj-alta-min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/alta-ios/oj-alta.css

+7-3
Original file line numberDiff line numberDiff line change
@@ -12241,6 +12241,9 @@ html .oj-form-control {
1224112241
min-width: 1em;
1224212242
height: 100%; }
1224312243

12244+
.oj-form-control-inherit:not(.oj-form-control-default) .oj-text-field-middle {
12245+
width: 100%; }
12246+
1224412247
/* when the label is inside or above, we must set the max-width of the component to
1224512248
100%. Otherwise some components like input text, whose max-width is decided by
1224612249
oj-text-field-lg-max-width looks so different from other components like radioset
@@ -12269,7 +12272,7 @@ html .oj-form-control {
1226912272

1227012273
/* consolidating styles - start
1227112274
*/
12272-
.oj-text-field:not(oj-select-one):not(oj-select-many):not(oj-combobox-one):not(oj-combobox-many) {
12275+
.oj-inputtext, .oj-inputpassword, .oj-textarea, .oj-inputnumber, .oj-inputdatetime, .oj-searchselect {
1227312276
display: inline-block;
1227412277
font-size: 1.0625rem;
1227512278
/* use a width of 100% and then max and min width so that when
@@ -12280,7 +12283,7 @@ html .oj-form-control {
1228012283
width: 100%;
1228112284
box-sizing: border-box; }
1228212285
@media screen and (max-width: 767.9px) {
12283-
.oj-text-field:not(oj-select-one):not(oj-select-many):not(oj-combobox-one):not(oj-combobox-many) {
12286+
.oj-inputtext, .oj-inputpassword, .oj-textarea, .oj-inputnumber, .oj-inputdatetime, .oj-searchselect {
1228412287
-webkit-text-size-adjust: 100%; } }
1228512288

1228612289
.oj-form-control-full-width.oj-text-field,
@@ -13735,7 +13738,8 @@ oj-calendar:not(.oj-complete) {
1373513738
-webkit-text-size-adjust: 100%; } }
1373613739

1373713740
.oj-inputdatetime-inline {
13738-
display: inline-block; }
13741+
display: inline-block;
13742+
max-width: 277px; }
1373913743

1374013744
.oj-form-control-full-width.oj-inputdatetime,
1374113745
.oj-form-control-full-width.oj-inputdatetime-date-time,

dist/css/alta-windows/oj-alta-min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/alta-windows/oj-alta.css

+7-3
Original file line numberDiff line numberDiff line change
@@ -12222,6 +12222,9 @@ html .oj-form-control {
1222212222
min-width: 1em;
1222312223
height: 100%; }
1222412224

12225+
.oj-form-control-inherit:not(.oj-form-control-default) .oj-text-field-middle {
12226+
width: 100%; }
12227+
1222512228
/* when the label is inside or above, we must set the max-width of the component to
1222612229
100%. Otherwise some components like input text, whose max-width is decided by
1222712230
oj-text-field-lg-max-width looks so different from other components like radioset
@@ -12250,7 +12253,7 @@ html .oj-form-control {
1225012253

1225112254
/* consolidating styles - start
1225212255
*/
12253-
.oj-text-field:not(oj-select-one):not(oj-select-many):not(oj-combobox-one):not(oj-combobox-many) {
12256+
.oj-inputtext, .oj-inputpassword, .oj-textarea, .oj-inputnumber, .oj-inputdatetime, .oj-searchselect {
1225412257
display: inline-block;
1225512258
font-size: 1rem;
1225612259
/* use a width of 100% and then max and min width so that when
@@ -12261,7 +12264,7 @@ html .oj-form-control {
1226112264
width: 100%;
1226212265
box-sizing: border-box; }
1226312266
@media screen and (max-width: 767.9px) {
12264-
.oj-text-field:not(oj-select-one):not(oj-select-many):not(oj-combobox-one):not(oj-combobox-many) {
12267+
.oj-inputtext, .oj-inputpassword, .oj-textarea, .oj-inputnumber, .oj-inputdatetime, .oj-searchselect {
1226512268
-webkit-text-size-adjust: 107%; } }
1226612269

1226712270
.oj-form-control-full-width.oj-text-field,
@@ -13666,7 +13669,8 @@ oj-calendar:not(.oj-complete) {
1366613669
-webkit-text-size-adjust: 107%; } }
1366713670

1366813671
.oj-inputdatetime-inline {
13669-
display: inline-block; }
13672+
display: inline-block;
13673+
max-width: 277px; }
1367013674

1367113675
.oj-form-control-full-width.oj-inputdatetime,
1367213676
.oj-form-control-full-width.oj-inputdatetime-date-time,

dist/css/alta/oj-alta-min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/alta/oj-alta-notag-min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/alta/oj-alta-notag.css

+7-3
Original file line numberDiff line numberDiff line change
@@ -11933,6 +11933,9 @@ html .oj-form-control {
1193311933
min-width: 1em;
1193411934
height: 100%; }
1193511935

11936+
.oj-form-control-inherit:not(.oj-form-control-default) .oj-text-field-middle {
11937+
width: 100%; }
11938+
1193611939
/* when the label is inside or above, we must set the max-width of the component to
1193711940
100%. Otherwise some components like input text, whose max-width is decided by
1193811941
oj-text-field-lg-max-width looks so different from other components like radioset
@@ -11961,7 +11964,7 @@ html .oj-form-control {
1196111964

1196211965
/* consolidating styles - start
1196311966
*/
11964-
.oj-text-field:not(oj-select-one):not(oj-select-many):not(oj-combobox-one):not(oj-combobox-many) {
11967+
.oj-inputtext, .oj-inputpassword, .oj-textarea, .oj-inputnumber, .oj-inputdatetime, .oj-searchselect {
1196511968
display: inline-block;
1196611969
font-size: 1rem;
1196711970
/* use a width of 100% and then max and min width so that when
@@ -11972,7 +11975,7 @@ html .oj-form-control {
1197211975
width: 100%;
1197311976
box-sizing: border-box; }
1197411977
@media screen and (max-width: 767.9px) {
11975-
.oj-text-field:not(oj-select-one):not(oj-select-many):not(oj-combobox-one):not(oj-combobox-many) {
11978+
.oj-inputtext, .oj-inputpassword, .oj-textarea, .oj-inputnumber, .oj-inputdatetime, .oj-searchselect {
1197611979
-webkit-text-size-adjust: 115%; } }
1197711980

1197811981
.oj-form-control-full-width.oj-text-field,
@@ -13414,7 +13417,8 @@ oj-calendar:not(.oj-complete) {
1341413417
-webkit-text-size-adjust: 115%; } }
1341513418

1341613419
.oj-inputdatetime-inline {
13417-
display: inline-block; }
13420+
display: inline-block;
13421+
max-width: 277px; }
1341813422

1341913423
.oj-form-control-full-width.oj-inputdatetime,
1342013424
.oj-form-control-full-width.oj-inputdatetime-date-time,

dist/css/alta/oj-alta.css

+7-3
Original file line numberDiff line numberDiff line change
@@ -12321,6 +12321,9 @@ html .oj-form-control {
1232112321
min-width: 1em;
1232212322
height: 100%; }
1232312323

12324+
.oj-form-control-inherit:not(.oj-form-control-default) .oj-text-field-middle {
12325+
width: 100%; }
12326+
1232412327
/* when the label is inside or above, we must set the max-width of the component to
1232512328
100%. Otherwise some components like input text, whose max-width is decided by
1232612329
oj-text-field-lg-max-width looks so different from other components like radioset
@@ -12349,7 +12352,7 @@ html .oj-form-control {
1234912352

1235012353
/* consolidating styles - start
1235112354
*/
12352-
.oj-text-field:not(oj-select-one):not(oj-select-many):not(oj-combobox-one):not(oj-combobox-many) {
12355+
.oj-inputtext, .oj-inputpassword, .oj-textarea, .oj-inputnumber, .oj-inputdatetime, .oj-searchselect {
1235312356
display: inline-block;
1235412357
font-size: 1rem;
1235512358
/* use a width of 100% and then max and min width so that when
@@ -12360,7 +12363,7 @@ html .oj-form-control {
1236012363
width: 100%;
1236112364
box-sizing: border-box; }
1236212365
@media screen and (max-width: 767.9px) {
12363-
.oj-text-field:not(oj-select-one):not(oj-select-many):not(oj-combobox-one):not(oj-combobox-many) {
12366+
.oj-inputtext, .oj-inputpassword, .oj-textarea, .oj-inputnumber, .oj-inputdatetime, .oj-searchselect {
1236412367
-webkit-text-size-adjust: 115%; } }
1236512368

1236612369
.oj-form-control-full-width.oj-text-field,
@@ -13787,7 +13790,8 @@ oj-calendar:not(.oj-complete) {
1378713790
-webkit-text-size-adjust: 115%; } }
1378813791

1378913792
.oj-inputdatetime-inline {
13790-
display: inline-block; }
13793+
display: inline-block;
13794+
max-width: 277px; }
1379113795

1379213796
.oj-form-control-full-width.oj-inputdatetime,
1379313797
.oj-form-control-full-width.oj-inputdatetime-date-time,

dist/css/redwood/oj-redwood-cssvars-min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/redwood/oj-redwood-cssvars.css

+3
Original file line numberDiff line numberDiff line change
@@ -8453,6 +8453,9 @@ html .oj-form-control {
84538453
width: 1em;
84548454
min-width: 1em; }
84558455

8456+
.oj-form-control-inherit:not(.oj-form-control-default) .oj-text-field-middle {
8457+
width: 100%; }
8458+
84568459
/* when the label is inside or above, we must set the max-width of the component to
84578460
100%. Otherwise some components like input text, whose max-width is decided by
84588461
oj-text-field-lg-max-width looks so different from other components like radioset

dist/css/redwood/oj-redwood-min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/redwood/oj-redwood.css

+3
Original file line numberDiff line numberDiff line change
@@ -7539,6 +7539,9 @@ html .oj-form-control {
75397539
width: 1em;
75407540
min-width: 1em; }
75417541

7542+
.oj-form-control-inherit:not(.oj-form-control-default) .oj-text-field-middle {
7543+
width: 100%; }
7544+
75427545
/* when the label is inside or above, we must set the max-width of the component to
75437546
100%. Otherwise some components like input text, whose max-width is decided by
75447547
oj-text-field-lg-max-width looks so different from other components like radioset

dist/js/libs/oj/debug/internal-deps/dvt/DvtChart.js

+23-16
Original file line numberDiff line numberDiff line change
@@ -3700,12 +3700,13 @@ DvtChartObjPeer.prototype._findNextNavigable = function(event) {
37003700
* @private
37013701
*/
37023702
DvtChartObjPeer.prototype._findNextUpSeries = function(chart, seriesIndex, groupIndex) {
3703+
var isStacked = DvtChartTypeUtils.isStacked(chart);
37033704
var seriesCount = DvtChartDataUtils.getSeriesCount(chart);
37043705
var currentValue = DvtChartDataUtils.getCumulativeValue(chart, seriesIndex, groupIndex);
37053706
var nextValue = null;
37063707
var nextSeriesIndex = null;
37073708
for (var i = 0; i < seriesCount; i++) {
3708-
if (!DvtChartStyleUtils.isSeriesRendered(chart, i) || DvtChartDataUtils.getValue(chart, i, groupIndex) == null)
3709+
if (!DvtChartStyleUtils.isSeriesRendered(chart, i) || DvtChartDataUtils.getValue(chart, i, groupIndex) == null || (isStacked && chart.getObject(i, groupIndex) == null))
37093710
continue;
37103711
var itemValue = DvtChartDataUtils.getCumulativeValue(chart, i, groupIndex);
37113712
if (itemValue > currentValue || (itemValue == currentValue && i > seriesIndex)) {
@@ -3728,12 +3729,13 @@ DvtChartObjPeer.prototype._findNextUpSeries = function(chart, seriesIndex, group
37283729
* @private
37293730
*/
37303731
DvtChartObjPeer.prototype._findNextDownSeries = function(chart, seriesIndex, groupIndex) {
3732+
var isStacked = DvtChartTypeUtils.isStacked(chart);
37313733
var seriesCount = DvtChartDataUtils.getSeriesCount(chart);
37323734
var currentValue = DvtChartDataUtils.getCumulativeValue(chart, seriesIndex, groupIndex);
37333735
var nextValue = null;
37343736
var nextSeriesIndex = null;
37353737
for (var i = seriesCount - 1; i >= 0; i--) {
3736-
if (!DvtChartStyleUtils.isSeriesRendered(chart, i) || DvtChartDataUtils.getValue(chart, i, groupIndex) == null)
3738+
if (!DvtChartStyleUtils.isSeriesRendered(chart, i) || DvtChartDataUtils.getValue(chart, i, groupIndex) == null || (isStacked && chart.getObject(i, groupIndex) == null))
37373739
continue;
37383740
var itemValue = DvtChartDataUtils.getCumulativeValue(chart, i, groupIndex);
37393741
if (itemValue < currentValue || (itemValue == currentValue && i < seriesIndex)) {
@@ -4115,7 +4117,7 @@ DvtChartDefaults.getGapHeight = function(chart, defaultHeight) {
41154117
* @override
41164118
*/
41174119
DvtChartDefaults.prototype.getNoCloneObject = function(chart) {
4118-
return {series: {items: {_itemData: true}}};
4120+
return {series: {items: {_itemData: true}}, data: true};
41194121
};
41204122

41214123
/**
@@ -12248,6 +12250,7 @@ dvt.Obj.createSubclass(DvtChartOverview, dvt.Overview);
1224812250
* @private
1224912251
*/
1225012252
DvtChartOverview.prototype._renderChart = function(options, width, height) {
12253+
var noCloneOptions = this._parentChart.Defaults.getNoCloneObject();
1225112254
this._chartContainer = new dvt.Container(this.getCtx());
1225212255
this.addChild(this._chartContainer);
1225312256

@@ -12269,7 +12272,7 @@ DvtChartOverview.prototype._renderChart = function(options, width, height) {
1226912272
'layout': {'outerGapWidth': 0, 'outerGapHeight': 0},
1227012273
'_isOverview': true
1227112274
};
12272-
options = dvt.JsonUtils.merge(defaultOptions, options);
12275+
options = dvt.JsonUtils.merge(defaultOptions, options, noCloneOptions);
1227312276

1227412277
if (DvtChartAxisUtils.hasGroupAxis(this._parentChart))
1227512278
options['xAxis']['tickLabel']['rendered'] = 'off';
@@ -12281,7 +12284,7 @@ DvtChartOverview.prototype._renderChart = function(options, width, height) {
1228112284

1228212285
// Set the user options override
1228312286
var userOptions = this._parentChart.getOptions()['overview']['content'];
12284-
options = dvt.JsonUtils.merge(userOptions, options);
12287+
options = dvt.JsonUtils.merge(userOptions, options, noCloneOptions);
1228512288
var isYAxisRendered = options.yAxis.rendered === "on";
1228612289
var isY2AxisRendered = options.y2Axis.rendered === "on";
1228712290

@@ -12333,7 +12336,7 @@ DvtChartOverview.prototype._renderChart = function(options, width, height) {
1233312336
*/
1233412337
DvtChartOverview.prototype.render = function(options, width, height) {
1233512338
// override styles
12336-
options['style'] = {
12339+
options.overview.style = {
1233712340
'overviewBackgroundColor': 'rgba(0,0,0,0)',
1233812341
'windowBackgroundColor': 'rgba(0,0,0,0)',
1233912342
'windowBorderTopColor': '#333333',
@@ -12347,12 +12350,12 @@ DvtChartOverview.prototype.render = function(options, width, height) {
1234712350
'handleHeight': 15,
1234812351
'handleFillColor': 'rgba(0,0,0,0)'
1234912352
};
12350-
options['animationOnClick'] = 'off';
12353+
options.overview.animationOnClick = 'off';
1235112354

12352-
var windowDims = this._renderChart(options['chart'], width, height);
12355+
var windowDims = this._renderChart(options.chart, width, height);
1235312356

1235412357
// now call super to render the scrollbar
12355-
DvtChartOverview.superclass.render.call(this, options, windowDims.w, windowDims.h);
12358+
DvtChartOverview.superclass.render.call(this, options.overview, windowDims.w, windowDims.h);
1235612359
};
1235712360

1235812361
/**
@@ -27037,13 +27040,16 @@ DvtChartRenderer._renderScrollbars = function(chart, horizScrollbarDim, vertScro
2703727040

2703827041
// Render x-axis overview scrollbar
2703927042
if (chart.overview) {
27043+
var noCloneOptions = chart.Defaults.getNoCloneObject();
2704027044
var ovOptions = {
27041-
'xMin': chart.xAxis.getLinearGlobalMin(),
27042-
'xMax': chart.xAxis.getLinearGlobalMax(),
27043-
'x1': chart.xAxis.getLinearViewportMin(),
27044-
'x2': chart.xAxis.getLinearViewportMax(),
27045-
'minimumWindowSize': chart.xAxis.getInfo().getMinimumExtent(),
27046-
'chart': dvt.JsonUtils.clone(options)
27045+
'overview': {
27046+
'xMin': chart.xAxis.getLinearGlobalMin(),
27047+
'xMax': chart.xAxis.getLinearGlobalMax(),
27048+
'x1': chart.xAxis.getLinearViewportMin(),
27049+
'x2': chart.xAxis.getLinearViewportMax(),
27050+
'minimumWindowSize': chart.xAxis.getInfo().getMinimumExtent()
27051+
},
27052+
'chart': dvt.JsonUtils.clone(options, null, noCloneOptions)
2704727053
};
2704827054

2704927055
if (!DvtChartEventUtils.isZoomable(chart))
@@ -30340,7 +30346,8 @@ DvtChartPlotAreaRenderer._filterPointsForSeries = function(chart, seriesIndex) {
3034030346
if (DvtChartTypeUtils.isPolar(chart) || DvtChartStyleUtils.isRangeSeries(chart, seriesIndex))
3034130347
return;
3034230348

30343-
var maxNumPts = chart.__getPlotAreaSpace().w; // one point per pixel
30349+
var plotAreaDims = chart.__getPlotAreaSpace();
30350+
var maxNumPts = DvtChartTypeUtils.isHorizontal(chart) ? plotAreaDims.h : plotAreaDims.w; // one point per pixel
3034430351
var seriesItems = DvtChartDataUtils.getSeriesItem(chart, seriesIndex)['items'];
3034530352
var isBar = DvtChartStyleUtils.getSeriesType(chart, seriesIndex) == 'bar';
3034630353
var axisInfo = chart.xAxis.getInfo();

0 commit comments

Comments
 (0)