put y axis definition into its own object

This commit is contained in:
2020-02-08 15:39:41 +01:00
parent 6109227508
commit ed7cc9bee5
10 changed files with 96 additions and 72 deletions

View File

@@ -193,13 +193,11 @@ export class PlotRequest {
thumbnailMaxHeight : number = 200;
groupBy : Array<string>;
limitBy : string;
axisScale : string;
limit : number;
y1:YAxisDefinition;
y2:YAxisDefinition;
dateRange : string;
aggregates : Array<string>;
yRangeMin : number;
yRangeMax : number;
yRangeUnit : string;
keyOutside : boolean = false;
generateThumbnail : boolean;
@@ -208,6 +206,13 @@ export class PlotRequest {
}
}
export class YAxisDefinition {
axisScale : string;
yRangeMin : number;
yRangeMax : number;
yRangeUnit : string;
}
export class PlotResponse {
imageUrl : string;
stats : PlotResponseStats;