show fullscreen image
This commit is contained in:
@@ -205,6 +205,14 @@ export class AutocompleteResult{
|
||||
constructor(public proposals: Array<Suggestion>){}
|
||||
}
|
||||
|
||||
type RenderOptionsMap = {
|
||||
[key: string]: RenderOptions;
|
||||
};
|
||||
|
||||
type RenderedImages = {
|
||||
[key: string]: string;
|
||||
};
|
||||
|
||||
export class PlotRequest {
|
||||
constructor(
|
||||
public height : number,
|
||||
@@ -214,7 +222,8 @@ export class PlotRequest {
|
||||
public keyOutside : boolean = false,
|
||||
public generateThumbnail : boolean,
|
||||
public submitterId: string,
|
||||
public config: PlotConfig
|
||||
public config: PlotConfig,
|
||||
public renders: RenderOptionsMap
|
||||
){}
|
||||
|
||||
|
||||
@@ -237,6 +246,14 @@ export class PlotConfig {
|
||||
public renderBarChartTickLabels: boolean = false,) {}
|
||||
}
|
||||
|
||||
export class RenderOptions {
|
||||
constructor(
|
||||
public height: number,
|
||||
public width: number,
|
||||
public keyOutside: boolean,
|
||||
public renderLabels: boolean) {}
|
||||
}
|
||||
|
||||
export class YAxisDefinition {
|
||||
constructor(
|
||||
public axisScale : string,
|
||||
@@ -249,7 +266,8 @@ export class PlotResponse {
|
||||
constructor(
|
||||
public imageUrl : string,
|
||||
public stats : PlotResponseStats,
|
||||
public thumbnailUrl : string){}
|
||||
public thumbnailUrl : string,
|
||||
public rendered: RenderedImages){}
|
||||
}
|
||||
|
||||
export class PlotResponseStats {
|
||||
|
||||
Reference in New Issue
Block a user