Home » U++ Library support » ScatterDraw & ScatterCtrl » crash while using scatterctrl
crash while using scatterctrl [message #44409] |
Sat, 07 March 2015 13:20  |
aftershock
Messages: 143 Registered: May 2008
|
Experienced Member |
|
|
Hi,
I have a problem, I do not seem to able to use scatterctrl.
I have a tabctrl. I have a layout which contains scatterctrl.
Layout is added to the tabctrl.
Vector<Pointf> data_equity,data_balance;
performance.chart.RemoveAllSeries();
for (int i=0; i< order_history.order_info.GetCount();i++)
{
data_equity << Pointf(i,order_history.order_info.Get(i,7));
data_balance << Pointf(i,order_history.order_info.Get(i, );
}
performance.chart.AddSeries(data_balance).Legend("balance");
performance.chart.AddSeries(data_equity).Legend("equity").Units( "km/h").NoMark().Stroke(2, Gray()).Dash(LINE_SOLID).Fill(LtGray());;
/
if I add series , it crashes when I switch to the tab which contains the scatterctrl.
case WM_PAINT:
ASSERT_(!painting || IsPanicMode(), "WM_PAINT invoked for " + Name() + " while in Paint routine");
ASSERT(hwnd);
if(hwnd) {
PAINTSTRUCT ps;
It fails for M_PAINT invoked for " + Name() + " while in Paint routine");
I use the latest upp.
aftershock
|
|
|
Goto Forum:
Current Time: Sat Apr 26 00:30:21 CEST 2025
Total time taken to generate the page: 0.03042 seconds
|