diff --git a/src/app/pages/flame-graph-compare/flame-graph-compare.module.ts b/src/app/pages/flame-graph-compare/flame-graph-compare.module.ts index c677dd6..81c7b62 100644 --- a/src/app/pages/flame-graph-compare/flame-graph-compare.module.ts +++ b/src/app/pages/flame-graph-compare/flame-graph-compare.module.ts @@ -9,16 +9,18 @@ import { FlameGraphComparePageRoutingModule } from './flame-graph-compare-routin import { FlameGraphComparePage } from './flame-graph-compare.page'; import {ComponentsModule} from "../../components/components.module"; import {NgxFlamegraphModule} from "ngx-flamegraph"; +import {MarkdownComponent} from "ngx-markdown"; @NgModule({ - imports: [ - CommonModule, - FormsModule, - IonicModule, - FlameGraphComparePageRoutingModule, - ComponentsModule, - NgxFlamegraphModule - ], + imports: [ + CommonModule, + FormsModule, + IonicModule, + FlameGraphComparePageRoutingModule, + ComponentsModule, + NgxFlamegraphModule, + MarkdownComponent + ], declarations: [FlameGraphComparePage] }) export class FlameGraphComparePageModule {} diff --git a/src/app/pages/flame-graph-compare/flame-graph-compare.page.html b/src/app/pages/flame-graph-compare/flame-graph-compare.page.html index 20e1198..3e0213a 100644 --- a/src/app/pages/flame-graph-compare/flame-graph-compare.page.html +++ b/src/app/pages/flame-graph-compare/flame-graph-compare.page.html @@ -7,19 +7,36 @@ - - - - - -

{{ date }}

-
- -
+ + + + + + + + Data for: {{date}} + + - -
+ + +
+
+ + + + + + DevProbe AI Analytic + + + {{aiAnalytic}} + + + + + diff --git a/src/app/pages/flame-graph-compare/flame-graph-compare.page.ts b/src/app/pages/flame-graph-compare/flame-graph-compare.page.ts index 1b84470..02a3bba 100644 --- a/src/app/pages/flame-graph-compare/flame-graph-compare.page.ts +++ b/src/app/pages/flame-graph-compare/flame-graph-compare.page.ts @@ -15,7 +15,9 @@ export class FlameGraphComparePage implements OnInit { product: Product = {}; datesForComparison: string[] = []; + lenDates: number = 0; configurations: { [key: string]: { data: RawData[] } } = {}; + aiAnalytic: string = '# holaaaa'; constructor( private flameGraphService: FlameGraphService, @@ -108,6 +110,8 @@ export class FlameGraphComparePage implements OnInit { this.product = JSON.parse(params['product']); this.datesForComparison = JSON.parse(params['dates']); }); + + this.lenDates = this.datesForComparison.length; console.log(this.product.productObjective); console.log(this.datesForComparison);