Skip to content

Commit

Permalink
Chart - Palette - fix failing tests (#3013)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanblinov2k17 authored Nov 16, 2023
1 parent 71d98d6 commit b5729b2
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion JSDemos/Demos/Charts/Palette/Angular/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class AppComponent {
this.paletteExtensionModes = service.getPaletteExtensionModes();
this.paletteCollection = service.getPaletteCollection();
this.palette = this.paletteCollection[0];
this.paletteExtensionMode = 'Blend';
this.paletteExtensionMode = 'blend';
}

get baseColors() {
Expand Down
2 changes: 1 addition & 1 deletion JSDemos/Demos/Charts/Palette/Vue/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
id="pie"
:data-source="dataSource"
:palette="palette"
:palette-extension-mode="paletteExtensionMode.toLowerCase()"
:palette-extension-mode="paletteExtensionMode"
>
<DxLegend :visible="false"/>
<DxSeries/>
Expand Down
2 changes: 1 addition & 1 deletion JSDemos/Demos/Charts/Palette/jQuery/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $(() => {

$('#extension-mode').dxSelectBox({
items: paletteExtensionModes,
value: 'Blend',
value: 'blend',
inputAttr: { 'aria-label': 'Palette Extension Mode' },
onValueChanged(e) {
$('#pie').dxPieChart({
Expand Down
3 changes: 3 additions & 0 deletions JSDemos/configs/Angular/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ window.config = {
'devextreme/localization.js': {
'esModule': true,
},
'devextreme/viz/palette.js': {
'esModule': true,
},
/** exceljs&file-saver */
'exceljs': {
'esModule': true,
Expand Down
6 changes: 3 additions & 3 deletions JSDemos/configs/ReactJs/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ window.config = {
'devextreme/localization.js': {
'esModule': true,
},
/** devextreme-aspnet-data-nojquery */
'devextreme-aspnet-data-nojquery': {
'devextreme/viz/palette.js': {
'esModule': true,
},
'devextreme/viz/palette.js': {
/** devextreme-aspnet-data-nojquery */
'devextreme-aspnet-data-nojquery': {
'esModule': true,
},
/**/
Expand Down
3 changes: 3 additions & 0 deletions JSDemos/configs/Vue/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ window.config = {
'devextreme/localization.js': {
'esModule': true,
},
'devextreme/viz/palette.js': {
'esModule': true,
},
/** devextreme-aspnet-data-nojquery */
'devextreme-aspnet-data-nojquery': {
'esModule': true,
Expand Down

0 comments on commit b5729b2

Please sign in to comment.