diff --git a/src/rpc.cpp b/src/rpc.cpp index e0b6080..61d5fae 100644 --- a/src/rpc.cpp +++ b/src/rpc.cpp @@ -1858,6 +1858,7 @@ void RPC::getMarketChart(QString chartType) { // Create Market Cap Series + /* QLineSeries *mcapSeries = new QLineSeries(); // Loop through price data and add to series @@ -1901,7 +1902,7 @@ void RPC::getMarketChart(QString chartType) { mcapaxisY->setTitleText("DRGX"); mcapChart->addAxis(mcapaxisY, Qt::AlignLeft); mcapSeries->attachAxis(mcapaxisY); - + */ // Add chart to UI qDebug() << "chartType = " << chartType; @@ -1910,8 +1911,8 @@ void RPC::getMarketChart(QString chartType) { ui->marketChart->setChart(priceChart); } else if(chartType=="Volume") { ui->marketChart->setChart(volumeChart); - } else if(chartType=="Marketcap") { - ui->marketChart->setChart(mcapChart); + /*} else if(chartType=="Marketcap") { + ui->marketChart->setChart(mcapChart);*/ } else{ ui->marketChart->setChart(priceChart); }