You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2023/09/09 08:10:41 UTC
[streampipes] branch improve-data-explorer-widgets updated: Fix format
This is an automated email from the ASF dual-hosted git repository.
riemer pushed a commit to branch improve-data-explorer-widgets
in repository https://gitbox.apache.org/repos/asf/streampipes.git
The following commit(s) were added to refs/heads/improve-data-explorer-widgets by this push:
new b8c047b3d Fix format
b8c047b3d is described below
commit b8c047b3deb60bdb8ba8174830b006b67e14417f
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Sat Sep 9 10:09:42 2023 +0200
Fix format
---
.../echarts-renderer/sp-base-echarts-renderer.ts | 25 ++++++++++++++++++----
.../sp-base-single-field-echarts-renderer.ts | 5 ++++-
.../echarts-renderer/sp-heatmap-renderer.ts | 6 +++++-
.../echarts-renderer/sp-histogram-renderer.ts | 4 +---
.../echarts-renderer/sp-pie-renderer.ts | 4 +---
.../echarts-renderer/sp-value-heatmap-renderer.ts | 4 +---
6 files changed, 33 insertions(+), 15 deletions(-)
diff --git a/ui/src/app/data-explorer/echarts-renderer/sp-base-echarts-renderer.ts b/ui/src/app/data-explorer/echarts-renderer/sp-base-echarts-renderer.ts
index 94ed4a127..5f8e55ead 100644
--- a/ui/src/app/data-explorer/echarts-renderer/sp-base-echarts-renderer.ts
+++ b/ui/src/app/data-explorer/echarts-renderer/sp-base-echarts-renderer.ts
@@ -16,12 +16,29 @@
*
*/
-import { SpEchartsRenderer, WidgetBaseAppearanceConfig, } from '../models/dataview-dashboard.model';
-import { DataExplorerWidgetModel, SpQueryResult, } from '@streampipes/platform-services';
+import {
+ SpEchartsRenderer,
+ WidgetBaseAppearanceConfig,
+} from '../models/dataview-dashboard.model';
+import {
+ DataExplorerWidgetModel,
+ SpQueryResult,
+} from '@streampipes/platform-services';
import { EChartsOption } from 'echarts';
import { BoxLayoutOptionMixin } from 'echarts/types/src/util/types';
-import { DatasetOption, GridOption, XAXisOption, YAXisOption, } from 'echarts/types/dist/shared';
-import { AxisOptions, GeneratedDataset, GridOptions, TagValue, WidgetSize, } from '../models/dataset.model';
+import {
+ DatasetOption,
+ GridOption,
+ XAXisOption,
+ YAXisOption,
+} from 'echarts/types/dist/shared';
+import {
+ AxisOptions,
+ GeneratedDataset,
+ GridOptions,
+ TagValue,
+ WidgetSize,
+} from '../models/dataset.model';
import { DataTransformOption } from 'echarts/types/src/data/helper/transform';
export abstract class SpBaseEchartsRenderer<T extends DataExplorerWidgetModel>
diff --git a/ui/src/app/data-explorer/echarts-renderer/sp-base-single-field-echarts-renderer.ts b/ui/src/app/data-explorer/echarts-renderer/sp-base-single-field-echarts-renderer.ts
index 73d99276e..991f9a968 100644
--- a/ui/src/app/data-explorer/echarts-renderer/sp-base-single-field-echarts-renderer.ts
+++ b/ui/src/app/data-explorer/echarts-renderer/sp-base-single-field-echarts-renderer.ts
@@ -16,7 +16,10 @@
*
*/
-import { DataExplorerField, DataExplorerWidgetModel, } from '@streampipes/platform-services';
+import {
+ DataExplorerField,
+ DataExplorerWidgetModel,
+} from '@streampipes/platform-services';
import { EChartsOption, SeriesOption } from 'echarts';
import { SpBaseEchartsRenderer } from './sp-base-echarts-renderer';
import { GeneratedDataset, WidgetSize } from '../models/dataset.model';
diff --git a/ui/src/app/data-explorer/echarts-renderer/sp-heatmap-renderer.ts b/ui/src/app/data-explorer/echarts-renderer/sp-heatmap-renderer.ts
index 170abb359..5a5e05f17 100644
--- a/ui/src/app/data-explorer/echarts-renderer/sp-heatmap-renderer.ts
+++ b/ui/src/app/data-explorer/echarts-renderer/sp-heatmap-renderer.ts
@@ -20,7 +20,11 @@ import { SpBaseEchartsRenderer } from './sp-base-echarts-renderer';
import { HeatmapWidgetModel } from '../components/widgets/heatmap/model/heatmap-widget.model';
import { GeneratedDataset, TagValue } from '../models/dataset.model';
import { EChartsOption } from 'echarts';
-import { DimensionDefinitionLoose, OptionDataValue, OptionSourceDataArrayRows, } from 'echarts/types/src/util/types';
+import {
+ DimensionDefinitionLoose,
+ OptionDataValue,
+ OptionSourceDataArrayRows,
+} from 'echarts/types/src/util/types';
export class SpHeatmapRenderer extends SpBaseEchartsRenderer<HeatmapWidgetModel> {
getType(): string {
diff --git a/ui/src/app/data-explorer/echarts-renderer/sp-histogram-renderer.ts b/ui/src/app/data-explorer/echarts-renderer/sp-histogram-renderer.ts
index 8acd0bb11..81be773a4 100644
--- a/ui/src/app/data-explorer/echarts-renderer/sp-histogram-renderer.ts
+++ b/ui/src/app/data-explorer/echarts-renderer/sp-histogram-renderer.ts
@@ -16,9 +16,7 @@
*
*/
-import {
- DistributionChartWidgetModel
-} from '../components/widgets/distribution-chart/model/distribution-chart-widget.model';
+import { DistributionChartWidgetModel } from '../components/widgets/distribution-chart/model/distribution-chart-widget.model';
import { BarSeriesOption, EChartsOption } from 'echarts';
import { SpBaseSingleFieldEchartsRenderer } from './sp-base-single-field-echarts-renderer';
import { DataTransformOption } from 'echarts/types/src/data/helper/transform';
diff --git a/ui/src/app/data-explorer/echarts-renderer/sp-pie-renderer.ts b/ui/src/app/data-explorer/echarts-renderer/sp-pie-renderer.ts
index 35f3ca74c..85b8bd000 100644
--- a/ui/src/app/data-explorer/echarts-renderer/sp-pie-renderer.ts
+++ b/ui/src/app/data-explorer/echarts-renderer/sp-pie-renderer.ts
@@ -16,9 +16,7 @@
*
*/
-import {
- DistributionChartWidgetModel
-} from '../components/widgets/distribution-chart/model/distribution-chart-widget.model';
+import { DistributionChartWidgetModel } from '../components/widgets/distribution-chart/model/distribution-chart-widget.model';
import { EChartsOption, PieSeriesOption } from 'echarts';
import { DataTransformOption } from 'echarts/types/src/data/helper/transform';
import { SpBaseSingleFieldEchartsRenderer } from './sp-base-single-field-echarts-renderer';
diff --git a/ui/src/app/data-explorer/echarts-renderer/sp-value-heatmap-renderer.ts b/ui/src/app/data-explorer/echarts-renderer/sp-value-heatmap-renderer.ts
index e193b6ab9..01b68f417 100644
--- a/ui/src/app/data-explorer/echarts-renderer/sp-value-heatmap-renderer.ts
+++ b/ui/src/app/data-explorer/echarts-renderer/sp-value-heatmap-renderer.ts
@@ -16,9 +16,7 @@
*
*/
-import {
- DistributionChartWidgetModel
-} from '../components/widgets/distribution-chart/model/distribution-chart-widget.model';
+import { DistributionChartWidgetModel } from '../components/widgets/distribution-chart/model/distribution-chart-widget.model';
import { EChartsOption, HeatmapSeriesOption } from 'echarts';
import { SpBaseSingleFieldEchartsRenderer } from './sp-base-single-field-echarts-renderer';
import { DataTransformOption } from 'echarts/types/src/data/helper/transform';