ritesh28393 / ChartJS.Helpers.MVC

Wrapper to generate charts using the popular latest Chart.Js library (http://www.chartjs.org). It also provides Asp.Net MVC HtmlHelper extension method for generating charts.
MIT License
7 stars 8 forks source link

Trying to save to C:\Users\Ritesh Raj\Documents\temp.txt #1

Closed EricVdB closed 7 years ago

EricVdB commented 7 years ago

I tried your ChartJs Helper, but when trying to show the graph, it throws an error:

Could not find a part of the path 'C:\Users\Ritesh Raj\Documents\temp.txt'.

Looking at the source code i found below line in ToJson.cs: private static FileStream stream = new FileStream(@"C:\Users\Ritesh Raj\Documents\temp.txt",FileMode.Append);

Is that a leftover of a test?

Can you give this a look?

Thanks in advance, Eric

ritesh28393 commented 7 years ago

Hi Eric,

Thanks for bringing it up.

The mentioned code was for testing purpose. I have removed it.

Regards,, Ritesh