Skip to content

jqxChart in Angular returns TypeError of undefined #433

@yavor-htmlelements

Description

@yavor-htmlelements

Based on this example: https://www.jqwidgets.com/angular/angular-chart/angular-chart-lineseries.htm?light and having the Chart in Angular it returns the following error:
Screenshot_32

However the Chart is generated properly and works as it should.

The code used to reproduce the issue is when having the Chart in a window like so:
`<jqxWindow #customWindow
[width]="600"
[height]="650"
[cancelButton]="'.cancelButton'" [resizable]="false"
[position]="{ x: 90, y: 140 }">

  <jqxChart #myChart
    [width]="400" [height]="500"
    [title]="'U.S. Stock Market Index Performance'"
    [description]="'NASDAQ Composite compared to S&P 500'"
    [showLegend]="true" [enableAnimations]="true" [padding]="padding"
    [titlePadding]="titlePadding" [source]="dataAdapter" [xAxis]="xAxis"
    [valueAxis]="valueAxis" [seriesGroups]="seriesGroups" [colorScheme]="'scheme04'">
  </jqxChart>
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions