diff --git a/README.md b/README.md index 3a236ab..83adbb9 100644 --- a/README.md +++ b/README.md @@ -20,12 +20,38 @@ Easy Reports supports the following chart types: - Bubble (future release) ## Theming -Easy Reports supports three themes, and a custom option; +Easy Reports supports multiple themes, a fully customisable theme option and automatically using data choice value colours; - Simple (A basic starter theme) + +![Simple](/assets/simple-theme.png) + - PowerApps (styled on Microsoft PowerApps purple colour) + +![PowerApps](/assets/powerapps-theme.png) + - Fluent (styled on Microsoft's Fluent UI style guide used across all Microsoft products) + +![Fluent](/assets/fluent-theme.png) + +- Material (A Google Material styled theme) + +![Material](/assets/material-theme.png) + +- Sheets (A Google Sheets inspired theme) + +![Sheets](/assets/sheets-theme.png) + +- Polychroma (A bright theme) + +![Polychroma](/assets/polychroma-theme.png) + - Custom (fully custom theme based on your own colour palette) Additionally Choice value colours are automatically used in charts, when the chart is displaying the data related to that option set. +![Data](/assets/data-theme.png) + +# Installation + +Download the managed solution here and import into your environment. diff --git a/Solution/src/Other/Solution.xml b/Solution/src/Other/Solution.xml index 49ec7e5..7156cd3 100644 --- a/Solution/src/Other/Solution.xml +++ b/Solution/src/Other/Solution.xml @@ -8,7 +8,7 @@ - 0.3.2 + 0.9.3 2 diff --git a/assets/data-theme.png b/assets/data-theme.png new file mode 100644 index 0000000..25cedb4 Binary files /dev/null and b/assets/data-theme.png differ diff --git a/assets/fluent-theme.png b/assets/fluent-theme.png new file mode 100644 index 0000000..2af1ffe Binary files /dev/null and b/assets/fluent-theme.png differ diff --git a/assets/material-theme.png b/assets/material-theme.png new file mode 100644 index 0000000..f8407c2 Binary files /dev/null and b/assets/material-theme.png differ diff --git a/assets/polychroma-theme.png b/assets/polychroma-theme.png new file mode 100644 index 0000000..0328e23 Binary files /dev/null and b/assets/polychroma-theme.png differ diff --git a/assets/powerapps-theme.png b/assets/powerapps-theme.png new file mode 100644 index 0000000..61bf2a8 Binary files /dev/null and b/assets/powerapps-theme.png differ diff --git a/assets/sheets-theme.png b/assets/sheets-theme.png new file mode 100644 index 0000000..3e19327 Binary files /dev/null and b/assets/sheets-theme.png differ diff --git a/assets/simple-theme.png b/assets/simple-theme.png new file mode 100644 index 0000000..7d25997 Binary files /dev/null and b/assets/simple-theme.png differ diff --git a/package-lock.json b/package-lock.json index 59b240b..c8a5e46 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "report-pcf", - "version": "0.3.2", + "version": "0.9.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "report-pcf", - "version": "0.3.2", + "version": "0.9.3", "dependencies": { "@fluentui/react": "8.115.6", "ag-charts-community": "^9.0.2", diff --git a/package.json b/package.json index c145e5b..6378a6c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "report-pcf", - "version": "0.3.2", + "version": "0.9.3", "description": "Easy charts PowerApps Component", "scripts": { "build": "pcf-scripts build", diff --git a/reporter/ControlManifest.Input.xml b/reporter/ControlManifest.Input.xml index 420f8fd..4ce3f99 100644 --- a/reporter/ControlManifest.Input.xml +++ b/reporter/ControlManifest.Input.xml @@ -1,6 +1,6 @@ - + diff --git a/reporter/component/Themeing.ts b/reporter/component/Themeing.ts index d2acce4..5e95cf8 100644 --- a/reporter/component/Themeing.ts +++ b/reporter/component/Themeing.ts @@ -30,7 +30,6 @@ export class Themeing { } private static selectChartTheme(theme: ITheme | null, customTheme: string | null): AgChartTheme { - // return PolychromaTheme; switch (theme) { case 'CustomTheme': const chartTheme: AgChartTheme = {