Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
themeEclipse
firstline1
titleprototype angular
import { Component } from '@angular/core';
import dashboardData from './json/dashboard.json';
interface dashboard {
  ID: Number;
  car: String;
  driver: String;

}
@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {
  title = 'prototype';
  // @ts-ignore
  dashboards: dashboard[] = dashboardData;
}

Resultaat

Image Added

Prototype angular + google charts

Omdat angular ook een google charts API integratie hebben we hier ook een prototype voor gemaakt

...