120
Views
8
Comments
Solved
Got this error while working chart "Cannot read properties of null(reading '2') "
Application Type
Mobile

I have a scenario a  weekly based data is filtered from the entity and plotted in the column chart. all the data processing is working fine but while plotting the error is throwing like  "Cannot read properties of null(reading '2')". 

Checked in the service center it is showing like the below image.

Regards,

Brindha J

UserImage.jpg
Brindha Jayaseelan
Solution

I got the answer,

It is because of Theme. I'm using the custom theme which is not used the base theme as Outsystems UI theme. Whenever we are using the chart we have to set the theme to OutSystems UI theme if we need any customization we can override it.


Regards,

Brindha. J

UserImage.jpg
Molli Lavanya Krishna

How to override  outsystems charts css will you please explain with an example if possible?

2025-10-18 11-13-53
Ramesh subramanian
UserImage.jpg
Brindha Jayaseelan

Hi @Ramesh Subramanian ,

Thankyou for the response. Tried but not working.

2022-09-01 09-52-33
Carlos Rodrigues

Hello Brindha,

Did you try see the error log from inspect console and where it came from?

UserImage.jpg
Brindha Jayaseelan

Yeah, Carlos Rodrigues, I have attached the image

2023-10-23 05-14-43
Pradeep Patil

Hello @Brindha Jayaseelan 


Try updating chart component from forge, I was also facing the same error, updating outsystems chart component worked for me.


Reagards

UserImage.jpg
Brindha Jayaseelan

Hi, @Pradeep Patil Checked with the updated version too but facing the same issue.



Regards,

Brindha J

UserImage.jpg
Brindha Jayaseelan
Solution

I got the answer,

It is because of Theme. I'm using the custom theme which is not used the base theme as Outsystems UI theme. Whenever we are using the chart we have to set the theme to OutSystems UI theme if we need any customization we can override it.


Regards,

Brindha. J

UserImage.jpg
Molli Lavanya Krishna

How to override  outsystems charts css will you please explain with an example if possible?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.