Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
update package json version and echarts version to 5.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Neeru committed Mar 25, 2022
1 parent ed7d93b commit f103ff5
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 29 deletions.
34 changes: 17 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gp-smart-echart-widget",
"version": "1.1.0",
"version": "1.2.0",
"description": "This is an Angular 11 widget, which is designed to display the chart based on the REST data or Datahub.",
"author": "Neeru Arora - Software AG, Global Presales",
"license": "Apache 2.0",
Expand Down Expand Up @@ -35,7 +35,7 @@
"@juggle/resize-observer": "^3.3.1",
"angular-resize-event": "^2.1.0",
"echarts-simple-transform": "^1.0.0",
"echarts522": "npm:echarts@^5.2.2",
"echarts": "^5.2.2",
"ngx-bootstrap": "6.2.0",
"ngx-echarts": "^7.1.0",
"rxjs": "~6.6.3",
Expand Down
2 changes: 1 addition & 1 deletion projects/gp-smart-echart-widget/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gp-smart-echart-widget",
"version": "1.1.0",
"version": "1.2.0",
"description": "This is an Angular 11 widget, which is designed to display the chart based on the REST data or Datahub.",
"author": "Neeru Arora - Software AG, Global Presales",
"license": "Apache 2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* limitations under the License.
*/
import { Component, ElementRef, Input, OnDestroy, OnInit, ViewChild } from '@angular/core';
import * as echarts from 'echarts522';
import { EChartsOption } from 'echarts522';
import * as echarts from 'echarts';
import { EChartsOption } from 'echarts';
import { ChartConfig } from './model/config.modal';
import { GpSmartEchartWidgetService } from './gp-smart-echart-widget.service';
import { isDevMode } from '@angular/core';
Expand Down Expand Up @@ -236,7 +236,6 @@ export class GpSmartEchartWidgetComponent implements OnInit, OnDestroy {
}
}
if (isDevMode()) { console.log('Pie Chart For API', this.chartOption); }
console.log('Pie Chart For API', this.chartOption);
}
// End of piechart for API
else if (userInput.type === 'polar') {
Expand Down Expand Up @@ -556,7 +555,6 @@ export class GpSmartEchartWidgetComponent implements OnInit, OnDestroy {
}
};
if (isDevMode()) { console.log('Simple bar or line chart for API', this.chartOption); }
console.log('Simple bar or line chart for API', this.chartOption);
}
// End of Simple Line,Simple Bar,Stacked Line And Stacked Bar for API
else if (userInput.type === 'bar' && (userInput.layout === 'simpleHorizontalBar' || userInput.layout === 'stackedHorizontalBar')) {
Expand Down Expand Up @@ -1190,7 +1188,6 @@ export class GpSmartEchartWidgetComponent implements OnInit, OnDestroy {
series: encodeData
};
if (isDevMode()) { console.log('Aggregate Bar or Line chart', this.chartOption); }
console.log('Aggregate Bar or Line chart', this.chartOption);
} // End of Bar,Line Chart with Aggregation for datahub and API
else if (userInput.type === 'scatter') {
if (this.isDatahubPostCall) {
Expand Down Expand Up @@ -1364,7 +1361,6 @@ export class GpSmartEchartWidgetComponent implements OnInit, OnDestroy {
series: encodeData
};
if (isDevMode()) { console.log('Aggregate Pie chart', this.chartOption); }
console.log('Aggregate Pie chart', this.chartOption);
} // End of Pie Chart with Aggregation for datahub and API
else if (userInput.type === 'polar') {
let yDimensions; let xDimensions;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import * as preview from './preview-image';
import { NgxEchartsModule } from 'ngx-echarts';
import { SmartChartConfigComponent } from './smart-chart-config/smart-chart-config.component';
import { GpSmartEchartWidgetService } from './gp-smart-echart-widget.service';
import * as echarts from 'echarts522';
import * as echarts from 'echarts';
import { AngularResizedEventModule } from 'angular-resize-event';


Expand Down
2 changes: 1 addition & 1 deletion runtime/cumulocity.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"manifest": {
"noAppSwitcher": true,
"requiredPlatformVersion": ">=1011.0.0",
"version":"1.1.0",
"version":"1.2.0",
"author":"Software AG, Global Presales",
"description": "This is an Angular 11 widget, which is designed to display the chart based on the REST data or Datahub.",
"license": "Apache 2.0"
Expand Down
2 changes: 1 addition & 1 deletion runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"dist\\bundle-src\\custom-widget.js": "smart-echart-runtime-widget-CustomWidget",
"dist/bundle-src/custom-widget.js": "smart-echart-runtime-widget-CustomWidget"
},
"version": "1.1.0",
"version": "1.2.0",
"description": "Runtime package.json for library widget (written by Software AG Global Presales)",
"author": "Darpankumar Lalani - Software AG, Global Presales",
"license": "Apache 2.0"
Expand Down

0 comments on commit f103ff5

Please sign in to comment.