I'm using the .NET version of Chart Director, but in C++/CLI (added as a reference.) Most of the functionality works fine (I just translate the C# examples into C++/CLI, and they work as-is), but when I do this:
LineLayer ^pre2_layer = c->addLineLayer( pre2evo.m_FVSlice, 0x00FF00 );
pre2_layer->setXData( pre2evo.m_TimeStamps );
pre2_layer->setLineWidth( 2 );
All the points end up smashed together on 1 X value. Put another way, all the y values are showing up on the same x value. The m_TimeStamps was a very, very big number converted to a double. When I inspect the array in the debugger, the values are fine, so I know the data is good. Please assist. |