diff --git a/projects/x-framework-components/src/lib/assets/icon/svg/csv.svg b/projects/x-framework-components/src/lib/assets/icon/svg/csv.svg
new file mode 100644
index 0000000..87436c7
--- /dev/null
+++ b/projects/x-framework-components/src/lib/assets/icon/svg/csv.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/projects/x-framework-components/src/lib/assets/icon/svg/png.svg b/projects/x-framework-components/src/lib/assets/icon/svg/png.svg
new file mode 100644
index 0000000..c85353c
--- /dev/null
+++ b/projects/x-framework-components/src/lib/assets/icon/svg/png.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/projects/x-framework-components/src/lib/assets/icon/svg/range_selection.svg b/projects/x-framework-components/src/lib/assets/icon/svg/range_selection.svg
new file mode 100644
index 0000000..e4ed847
--- /dev/null
+++ b/projects/x-framework-components/src/lib/assets/icon/svg/range_selection.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/projects/x-framework-components/src/lib/assets/icon/svg/x_axis.svg b/projects/x-framework-components/src/lib/assets/icon/svg/x_axis.svg
new file mode 100644
index 0000000..c30b771
--- /dev/null
+++ b/projects/x-framework-components/src/lib/assets/icon/svg/x_axis.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/projects/x-framework-components/src/lib/assets/icon/svg/xy_axis.svg b/projects/x-framework-components/src/lib/assets/icon/svg/xy_axis.svg
new file mode 100644
index 0000000..9e7412a
--- /dev/null
+++ b/projects/x-framework-components/src/lib/assets/icon/svg/xy_axis.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/projects/x-framework-components/src/lib/assets/icon/svg/y_axis.svg b/projects/x-framework-components/src/lib/assets/icon/svg/y_axis.svg
new file mode 100644
index 0000000..c2f6179
--- /dev/null
+++ b/projects/x-framework-components/src/lib/assets/icon/svg/y_axis.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/projects/x-framework-components/src/lib/x-chart/x-chart.component.ts b/projects/x-framework-components/src/lib/x-chart/x-chart.component.ts
index adeb05d..b7970dc 100644
--- a/projects/x-framework-components/src/lib/x-chart/x-chart.component.ts
+++ b/projects/x-framework-components/src/lib/x-chart/x-chart.component.ts
@@ -4,30 +4,30 @@ import {
ElementRef,
ChangeDetectionStrategy,
} from '@angular/core';
+import {
+ nameof,
+ XMimeType,
+ downloadFile,
+ generateUuid,
+ downloadFileByUrl,
+ isNullOrUndefined,
+ isNullOrEmptyString,
+ downloadArrayBufferedFile,
+} from 'x-framework-core';
import {
isChartType,
XChartAction,
XChartOptions,
XChartSeriesType,
- XChartContainerComponent,
XChartActionBarItem,
+ XChartContainerComponent,
} from './x-chart.typings';
import { Subscription } from 'rxjs';
import ApexCharts from 'apexcharts';
import {
- downloadArrayBufferedFile,
- downloadFile,
- downloadFileByUrl,
- generateUuid,
- isNullOrEmptyString,
- isNullOrUndefined,
- nameof,
- XMimeType,
-} from 'x-framework-core';
-import {
- XActionBarActionFiredModel,
XActionBarItem,
XActionBarItemSlot,
+ XActionBarActionFiredModel,
} from '../x-action-bar/x-action-bar.typings';
import { XIconNames } from '../x-icon/x-icon.typings';
@@ -459,9 +459,9 @@ export class XChartComponent extends XChartContainerComponent {
onlyIcon: true,
disabled: this.uiDisabled,
slot: this.ActionBarItemSlots.START,
+ icon: this.IconNames.range_selection,
id: this.ActionBarItems.ZoomSelection,
title: this.ResourceIDs.zoom_selection,
- icon: this.IconNames.friendship_reject,
iconColor: this.defaultActionBarItemColor,
};
@@ -469,7 +469,7 @@ export class XChartComponent extends XChartContainerComponent {
const defaultXAxisSelectionItem: XActionBarItem = {
onlyIcon: true,
disabled: this.uiDisabled,
- icon: this.IconNames.x_axist,
+ icon: this.IconNames.x_axis,
title: this.ResourceIDs.x_axis,
id: this.ActionBarItems.XSelection,
slot: this.ActionBarItemSlots.START,
diff --git a/projects/x-framework-components/src/lib/x-icon/x-icon.typings.ts b/projects/x-framework-components/src/lib/x-icon/x-icon.typings.ts
index e075b26..2423a18 100644
--- a/projects/x-framework-components/src/lib/x-icon/x-icon.typings.ts
+++ b/projects/x-framework-components/src/lib/x-icon/x-icon.typings.ts
@@ -36,12 +36,14 @@ export enum XIconAction {
export type XIconActionIdentifier = XIconAction | string;
export interface XIconActionModel
- extends XBaseActionModel {}
+ extends XBaseActionModel { }
export enum XIconNames {
tv = 'tv',
ol = 'ol',
ul = 'ul',
+ csv = 'csv',
+ png = 'png',
job = 'job',
add = 'add',
sad = 'sad',
@@ -141,6 +143,9 @@ export enum XIconNames {
flight = 'flight',
memory = 'memory',
replay = 'replay',
+ x_axis = 'x_axis',
+ y_axis = 'y_axis',
+ xy_axis = 'xy_axis',
visible = 'visible',
checked = 'checked',
unliked = 'unliked',
@@ -353,6 +358,7 @@ export enum XIconNames {
menu_horizontal = 'menu_horizontal',
logo_javascript = 'logo_javascript',
phone_forwarded = 'phone_forwarded',
+ range_selection = 'range_selection',
string_resources = 'string_resources',
chatbox_ellipses = 'chatbox_ellipses',
checkmark_circle = 'checkmark_circle',
@@ -430,6 +436,8 @@ export const XProvidedIcons = {
mop: 'mop',
sad: 'sad',
map: 'map',
+ csv: 'csv',
+ png: 'png',
mail: 'mail',
undo: 'undo',
redo: 'redo',
@@ -509,12 +517,15 @@ export const XProvidedIcons = {
flight: 'flight',
memory: 'memory',
replay: 'replay',
+ x_axis: 'x_axis',
+ y_axis: 'y_axis',
unknown: 'attach',
video: 'videocam',
done: 'checkmark',
logout: 'log-out',
avatars: 'images',
account: 'person',
+ xy_axis: 'xy_axis',
invite: 'contract',
archive: 'archive',
toolbar: 'toolbar',
@@ -738,6 +749,7 @@ export const XProvidedIcons = {
local_shipping: 'local_shipping',
cast_connected: 'cast_connected',
voice_chat_off: 'voice_chat_off',
+ range_selection: 'range_selection',
logo_javascript: 'logo-javascript',
phone_forwarded: 'phone_forwarded',
menu_vertical: 'ellipsis-vertical',
@@ -791,6 +803,8 @@ export const XCustomIcons: string[] = [
XIconNames.ol,
XIconNames.ul,
XIconNames.tv,
+ XIconNames.csv,
+ XIconNames.png,
XIconNames.dns,
XIconNames.dvr,
XIconNames.fax,
@@ -840,6 +854,9 @@ export const XCustomIcons: string[] = [
XIconNames.replay,
XIconNames.expand,
XIconNames.italic,
+ XIconNames.x_axis,
+ XIconNames.y_axis,
+ XIconNames.xy_axis,
XIconNames.toolbar,
XIconNames.devices,
XIconNames.dialogs,
@@ -953,6 +970,7 @@ export const XCustomIcons: string[] = [
XIconNames.cast_connected,
XIconNames.voice_chat_off,
XIconNames.phone_forwarded,
+ XIconNames.range_selection,
XIconNames.document_scanner,
XIconNames.splitscreen_left,
XIconNames.close_fullscreen,
@@ -1025,8 +1043,7 @@ export interface IXIconContainer extends IXBaseContainer {
})
export class XIconContainer
extends XBaseContainer
- implements Readonly
-{
+ implements Readonly {
//
//#region Props ...
readonly actionProvider: Subject =
@@ -1057,8 +1074,7 @@ export class XIconContainer
})
export abstract class XIconContainerComponent
extends XBaseContainerComponent
- implements IXIconContainer
-{
+ implements IXIconContainer {
//
//#region Props ...
//