From 6600811adf7eb088fad385ee68997bb46e666d64 Mon Sep 17 00:00:00 2001 From: fekt Date: Sat, 13 Apr 2024 20:00:32 -0400 Subject: [PATCH] Commenting out mcap stuff for now --- src/rpc.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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); }