Hello, thanks for the plot library, and may be you can help me with my problem? Please look 45 sec video https://www.youtube.com/watch?v=SqHZrJ0V_qo cause I really don't know how to explain it briefly in writing )
I'm sure I don't change color of lines accidentally somewhere in my code.

...
m_AxisRect->setRangeDragAxes(m_list_all_axes);
connect(ui->plot->xAxis, SIGNAL(rangeChanged(QCPRange)), this, SLOT(xAxisChanged(QCPRange)));
...

void ViewFileTrends::xAxisChanged(QCPRange range)
{
	QCPScatterStyle scat;

	if ((range.size()*m_sample_rate)<50)
		scat = QCPScatterStyle::ssTriangle;
	else
		scat = QCPScatterStyle::ssNone;

	int w=1;
	if (range.size()<0.1)
		w=2;

	for (int i=0; i<ui->plot->graphCount(); i++)
	{
		ui->plot->graph(i)->setScatterStyle(scat);
		QPen p = ui->plot->graph(i)->pen();
		p.setWidth(w);
		ui->plot->graph(i)->setPen(p);
	}
}

QCustomPlot 2.1.0.