Problem rendering example chart

Hi,

I am having problems rendering a simple chart.
Here are relevant packages versoins:

"react": "^16.4.2",
"react-dom": "^16.4.2",
"@syncfusion/ej2-react-charts": "^16.3.24"

Project was created using create-react-app.

The code:

import { Tooltip } from '@syncfusion/ej2-popups';
import { Category, ChartComponent, DataLabel, Inject, Legend, LineSeries } from '@syncfusion/ej2-react-charts';
import * as React from 'react';

export default class ChartsShowcasePage extends React.Component<{}, {}> {
render() {
return <ChartComponent id="charts">
<Inject services={[LineSeries, Legend, Tooltip, DataLabel, Category]} />
</ChartComponent>;
}
}

Here is what I get:

node_modules/@syncfusion/ej2-lists/src/list-view/list-view.d.ts
(14,5): Property 'id' of type 'string | number | undefined' is not assignable to string index type 'Object'.


3 Replies

GS Goran Strok October 15, 2018 06:45 AM UTC

A minor update, tried It on a blank project just to eliminate possible problems with other dependencies. The problem still persists. I attached an example project.






Attachment: syncfusioncharts_148327ab.zip


DD Dharanidharan Dharmasivam Syncfusion Team October 15, 2018 09:37 AM UTC

Hi Goran, 
 
Greetings from Syncfusion. 
 
We have analyzed the reported scenario with the provided samples. We have confirmed this as an issue and logged bug report for this. The reported issue is due to list view component, since list view is dependency for chart component. Fix for this issue will be included in our upcoming patch release on October 16, 2018. We appreciate your patience until then.  
 
Thanks, 
Dharani. 



DD Dharanidharan Dharmasivam Syncfusion Team October 16, 2018 01:05 PM UTC

Hi Goran, 
  
We are glad to announce that our v16.3.0.25 patch release is rolled out, we have added the fix for reported issue in list view component and is available for download under the following link. 
  
  
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 
  
Thanks,          
Dharani. 
 


Loader.
Up arrow icon