mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-14 01:25:38 -05:00
Formatting tweaks
This commit is contained in:
@@ -143,10 +143,10 @@ export class WeatherChartsComponent implements OnInit {
|
||||
{
|
||||
visible: true,
|
||||
labels: {
|
||||
format: '{value:.2f}%'
|
||||
format: '{value}%'
|
||||
},
|
||||
title: {
|
||||
text: 'Percentage'
|
||||
text: 'Humidity'
|
||||
},
|
||||
min: 0,
|
||||
max: 100,
|
||||
@@ -166,7 +166,7 @@ export class WeatherChartsComponent implements OnInit {
|
||||
},
|
||||
{
|
||||
labels: {
|
||||
format: '{value:.2f} lx',
|
||||
format: '{value} lx',
|
||||
},
|
||||
title: {
|
||||
text: 'Light'
|
||||
@@ -254,7 +254,7 @@ export class WeatherChartsComponent implements OnInit {
|
||||
yAxis: [
|
||||
{
|
||||
labels: {
|
||||
format: '{value:.2f} MPH',
|
||||
format: '{value} MPH',
|
||||
},
|
||||
title: {
|
||||
text: 'Wind Speed'
|
||||
|
||||
@@ -1,13 +1,20 @@
|
||||
|
||||
import { enableProdMode } from '@angular/core';
|
||||
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
||||
import * as Highcharts from 'highcharts';
|
||||
|
||||
import { AppModule } from './app/app.module';
|
||||
import { environment } from './environments/environment';
|
||||
|
||||
if (environment.production) {
|
||||
enableProdMode();
|
||||
enableProdMode();
|
||||
}
|
||||
|
||||
platformBrowserDynamic().bootstrapModule(AppModule)
|
||||
.catch(err => console.error(err));
|
||||
.catch(err => console.error(err));
|
||||
|
||||
Highcharts.setOptions({
|
||||
lang: {
|
||||
thousandsSep: ','
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user