Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"@ngx-formly/core": "^6.2.2",
"@ngx-translate/core": "16.0.4",
"@siemens/ngx-datatable": "^24.0.0",
"echarts": "5.6.0",
"echarts": "6.0.0",
"flag-icons": "7.5.0",
"google-libphonenumber": "3.2.42",
"gridstack": "11.5.1",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion projects/charts-ng/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"peerDependencies": {
"@angular/common": "20",
"@angular/core": "20",
"echarts": "^5.6.0"
"echarts": "^6.0.0"
},
"exports": {
"./docs.json": {
Expand Down
6 changes: 5 additions & 1 deletion projects/charts-ng/src/shared/echarts.custom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import {
VisualMapComponent
} from 'echarts/components';
import * as echarts from 'echarts/core';
import { LegacyGridContainLabel } from 'echarts/features';
import { CanvasRenderer, SVGRenderer } from 'echarts/renderers';

echarts.use([
Expand Down Expand Up @@ -70,7 +71,10 @@ echarts.use([

// renderers
CanvasRenderer,
SVGRenderer
SVGRenderer,

// features
LegacyGridContainLabel
]);

export { echarts };
15 changes: 12 additions & 3 deletions projects/charts-ng/src/shared/themes/element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,15 @@ export const themeElement = {
textStyle: {
fontFamily
},

richInheritPlainLabel: false,
color: colorPalettes.default,
gradientColor: gradientColors.default,
backgroundColor: 'transparent',
animationDuration: 700,

title: {
left: 0,
top: 0,
padding: [10, 0, 0, 10],
textStyle: {
fontFamily,
Expand All @@ -167,6 +169,7 @@ export const themeElement = {
left: 'auto',
right: 20,
top: 35,
itemGap: 10,
textStyle: {
fontFamily,
color: textColor,
Expand Down Expand Up @@ -274,6 +277,7 @@ export const themeElement = {
hideOverlap: true
},
axisTick: {
show: true,
alignWithLabel: true
},
splitLine: {
Expand Down Expand Up @@ -302,6 +306,7 @@ export const themeElement = {
hideOverlap: true
},
axisTick: {
show: true,
alignWithLabel: true
},
splitLine: {
Expand Down Expand Up @@ -342,7 +347,8 @@ export const themeElement = {
},
selectedDataBackground: {
areaStyle: {
color: dataZoomLineColor
color: dataZoomLineColor,
opacity: 0.2
},
lineStyle: {
color: dataZoomLineColor
Expand Down Expand Up @@ -388,10 +394,12 @@ export const themeElement = {
areaStyle: {
opacity: 0.3
},
symbol: 'circle'
symbol: 'circle',
symbolSize: 4
},

pie: {
radius: [0, '75%'],
label: {
fontFamily,
formatter: '{d}%',
Expand All @@ -400,6 +408,7 @@ export const themeElement = {
fontSize
},
labelLine: {
length2: 15,
lineStyle: {
color: elementTextSecondary
}
Expand Down
Loading