<div>Hi all,</div><div><br></div><div>I am using vtkChartXY in my application according to the example (<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Plotting/LinePlot">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Plotting/LinePlot</a>).</div>
<div>It was working well, but as long as I set the x and y axis labels (instead of default names as X-Axis and Y-Axis) I am getting an exception.</div><div>eg: </div><div>chart-&gt;GetAxis(vtkAxis::BOTTOM)-&gt;SetTitle(&quot;distance &quot;);</div>
<div>I am using VTK built in release mode.And the program works well if I run it in release mode.</div><div>But when I run it in debug mode, it gives an exception. </div><div>What should I do to make it work in debug mode as well?</div>
<div>I am using visual c++ in visual studio 2008.</div><div>Thanks.</div>