projects/i-components/src/lib/components/chart-axes/chart-axes.component.ts
selector | wm-chart-axes |
styleUrls | ./chart-axes.component.scss |
templateUrl | ./chart-axes.component.html |
Properties |
constructor()
|
Creates an instance of ChartAxesComponent. |
categoryAxisList |
Type : QueryList<ChartCategoryAxisComponent>
|
Decorators :
@ContentChildren(ChartCategoryAxisComponent)
|
Set of category axis defined in XAML structure |
dateAxisList |
Type : QueryList<ChartDateAxisComponent>
|
Decorators :
@ContentChildren(ChartDateAxisComponent)
|
Set of category axis defined in XAML structure |
linearAxisList |
Type : QueryList<ChartLinearAxisComponent>
|
Decorators :
@ContentChildren(ChartLinearAxisComponent)
|
Set of linear axis defined in XAML structure |
import { Component, ContentChildren, OnInit, QueryList } from '@angular/core';
import { ChartCategoryAxisComponent } from '../chart-category-axis/chart-category-axis.component';
import { ChartDateAxisComponent } from '../chart-date-axis/chart-date-axis.component';
import { ChartLinearAxisComponent } from '../chart-linear-axis/chart-linear-axis.component';
@Component({
selector: 'wm-chart-axes',
templateUrl: './chart-axes.component.html',
styleUrls: ['./chart-axes.component.scss'],
})
export class ChartAxesComponent {
/**
* Set of category axis defined in XAML structure
*
* @type {QueryList<ChartCategoryAxisComponent>}
* @memberof ChartAxesComponent
*/
@ContentChildren(ChartCategoryAxisComponent)
categoryAxisList: QueryList<ChartCategoryAxisComponent>;
/**
* Set of linear axis defined in XAML structure
*
* @type {QueryList<ChartLinearAxisComponent>}
* @memberof ChartAxesComponent
*/
@ContentChildren(ChartLinearAxisComponent)
linearAxisList: QueryList<ChartLinearAxisComponent>;
/**
* Set of category axis defined in XAML structure
*
* @type {QueryList<ChartCategoryAxisComponent>}
* @memberof ChartAxesComponent
*/
@ContentChildren(ChartDateAxisComponent)
dateAxisList: QueryList<ChartDateAxisComponent>;
/**
* Creates an instance of ChartAxesComponent.
*
* @memberof ChartAxesComponent
*/
constructor() {}
}
<ng-container></ng-container>
./chart-axes.component.scss