You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i'm new with all those stuff of charts and i've realized that its difficult. I want to create 3 different charts, piechart and two linecharts in the same page(for segments). For the pie chart i just have two values:
Incomes( infoInco )
Other incomes( infoOtInco )
Now i have this code and the values are showed in the console, but when i put them in the chart, it says undefined, so i don't know if i need an specific kind of value. Help please :c
Here's my code.
THE PAGE.HTML:
`
`
THE PAGE.TS:
`import { Component, ViewChild } from '@angular/core';
import { AlertController,
NavController,
NavParams,
Platform } from 'ionic-angular';
import * as Highcharts from 'highcharts';
import { VentaserviciosInfoPage,
VentaarticulosInfoPage,
OtrasventasInfoPage } from './paginas.informes';
import { InformesProvider } from '../../providers/informes/informes';
GitHub issues section is our bug tracker, but in order to get help with some implementation, please contact our support team on forum, or ask your question on StackOverflow platform. I'm sure that you will receive help there.
Hi, i'm new with all those stuff of charts and i've realized that its difficult. I want to create 3 different charts, piechart and two linecharts in the same page(for segments). For the pie chart i just have two values:
Now i have this code and the values are showed in the console, but when i put them in the chart, it says undefined, so i don't know if i need an specific kind of value. Help please :c
Here's my code.
THE PAGE.HTML:
`
THE PAGE.TS:
`import { Component, ViewChild } from '@angular/core';
import { AlertController,
NavController,
NavParams,
Platform } from 'ionic-angular';
import * as Highcharts from 'highcharts';
import { VentaserviciosInfoPage,
VentaarticulosInfoPage,
OtrasventasInfoPage } from './paginas.informes';
import { InformesProvider } from '../../providers/informes/informes';
@component({
selector: 'page-informes',
templateUrl: 'informes.html',
providers: [InformesProvider]
})
export class InformesPage {
data: any;
informes: any;
userData: any;
datosResp: any;
infoInco: any;
infoOtInco: any;
constructor(public navCtrl: NavController,
public navParams: NavParams,
private _ip: InformesProvider) {
}
abrirVS(){
this.navCtrl.push(VentaserviciosInfoPage);
}
abrirOV(){
this.navCtrl.push(OtrasventasInfoPage);
}
}
ionViewDidLoad(){
showHighchart(infoInco, infoOtInco){
}`
Chrome's console says undefined.
The text was updated successfully, but these errors were encountered: