zingchart / zingchart-angular

Quickly create dynamic JavaScript charts with ZingChart & Angular.
https://www.zingchart.com/docs/integrations/angular
2 stars 4 forks source link

DefinitelyType ZingChart Angular - Properties are missing for Grid Chart. #33

Open PITPL-Vivek-Pandya opened 2 years ago

PITPL-Vivek-Pandya commented 2 years ago

1. style inside options > style - Missing properties are .th_first,.th_last, .td, .tr_odd, .th, .th_first

Screenshot from 2022-09-27 09-59-00 Screenshot from 2022-09-27 10-03-07 Screenshot from 2022-09-27 10-03-35 Screenshot from 2022-09-27 10-04-24 Screenshot from 2022-09-27 10-05-30

2. Also Please Check inner properties that's also should be missing.

image

stuurman commented 1 year ago

@zingsoftadmin It is now December 9, the ticket was opened on September 30th. 2 years after filing a first bug https://github.com/zingchart/zingchart-angular/issues/5, Angular typing is still not up to date.There are only improvements made, if someone files a bug and several reminders are made in the tickets. There does not seem any proactive work on producing correct typing.

Two questions arise: Is Angular supported and is there a release date planned for fully correct typing?

lasabahebwa commented 1 year ago

@stuurman Inside options > style - properties .th_first,.th_last, .td, .tr_odd, .th, .th_first for Grid chart were included. Did you try installing the latest version of @types/zingchart and zingchart-angular? This should resolve the issue. We're sorry we forgot to update the issue here.

stuurman commented 1 year ago

@lasabahebwa @zingsoftadmin Thanks.

However, it is of no use for us to find out a chart is working after we give comments here, and after that include another chart, giving similar typing problems. It feels we are already almost 2 years alpha testing the typing support for ZingChart. We could like to import the typing and be sure we have type-safety. Is Zingchart's typing is now finally correct for all charts, and there will be no more need for file these kind of bugs?

stuurman commented 1 year ago

5 months later....

@zingsoftadmin Is there any timeline that angular typings will be complete and correct for zing charts? It is quite painful and error prone making our own shadow types, since problems keep popping up with the typings provided by zingchart. Please let the community know when there is a typing that works fully.