How to fix problems with asp.net mvc 3 charts and razor pages