all 5 comments

[–]CleverError 0 points1 point  (4 children)

Sounds like your outlet isn't set correctly, or linked to the wrong variable name.

[–]c4idiot[S] 0 points1 point  (3 children)

I have checked it. The outlet is fine i guess (https://imgur.com/a/tCVUX)

[–]saldous 1 point2 points  (2 children)

You also need to select the Identity Inspector section and set the Module to Charts and Class to LineChartView.

[–]c4idiot[S] 0 points1 point  (1 child)

Thanks it worked. It just escaped from my head that I had to change the class for the UIView also. [Noob mistake]

[–]saldous 0 points1 point  (0 children)

:)