I have 2 series - both diffenent size. Screen below show bad summ. I'm use below code to summ 2 series.
SDIAppForm->Chart4->Series[4]->SetFunction(new TAddTeeFunction(SDIAppForm->Chart4));
SDIAppForm->Chart4->Series[4]->DataSources->Add( SDIAppForm->Chart4->Series[3]); SDIAppForm->Chart4->Series[4]->DataSources->Add( SDIAppForm->Chart4->Series1);
SDIAppForm->Chart4->Series[4]->CheckDataSource();
Series1 and Series3 are red colour, Black is wrong summ (partially overlap series 3
Do you have any simple idea how I can solve problem? I'm not an expert with TeeChart so I will be appriciate for simple example how to solve this problem.
Problem solved with interpolate function