diff --git a/examples/ekgchart/chartview.cpp b/examples/ekgchart/chartview.cpp index 3f9f91b..0d97a1c 100644 --- a/examples/ekgchart/chartview.cpp +++ b/examples/ekgchart/chartview.cpp @@ -12,7 +12,7 @@ m_y(1) setChartTitle("Three random line charts"); QObject::connect(&m_timer,SIGNAL(timeout()),this,SLOT(handleTimeout())); - m_timer.setInterval(3000); + m_timer.setInterval(1000); m_series0 = new QLineSeries(this); QPen blue(Qt::blue); @@ -21,15 +21,14 @@ m_y(1) m_series1 = new QSplineSeries(this); - QPen green(Qt::green); + QPen green(Qt::red); green.setWidth(3); m_series1->setPen(green); - m_series0->add(m_x,m_y); m_series1->add(m_x,m_y); - setChartTitle("Simple EKG example"); + setChartTitle("Simple EKG chart"); addSeries(m_series0); addSeries(m_series1); axisY()->setRange(-5,5); diff --git a/examples/linechart/main.cpp b/examples/linechart/main.cpp index 74de58c..039b3d6 100644 --- a/examples/linechart/main.cpp +++ b/examples/linechart/main.cpp @@ -35,7 +35,7 @@ int main(int argc, char *argv[]) QMainWindow window; QChartView* chartView = new QChartView(&window); - chartView->setChartTitle("Basic line chart example"); + chartView->setChartTitle("Simple line chart"); chartView->setRenderHint(QPainter::Antialiasing); chartView->addSeries(series0);