From d5424e51d23d6c595ccaab753057cb206d35213b Mon Sep 17 00:00:00 2001 From: Tushar Maheshwari Date: Fri, 9 Aug 2019 08:02:19 +0530 Subject: [PATCH] Remove axes for pie chart --- src/api/c/chart.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api/c/chart.cpp b/src/api/c/chart.cpp index bc69fc82..22438665 100644 --- a/src/api/c/chart.cpp +++ b/src/api/c/chart.cpp @@ -168,6 +168,7 @@ fg_err fg_append_pie_to_chart(fg_chart pChart, fg_pie pPie) { ARG_ASSERT(1, (pPie != 0)); getChart(pChart)->addRenderable(getPie(pPie)->impl()); + getChart(pChart)->setAxesVisibility(false); } CATCHALL @@ -264,6 +265,7 @@ fg_err fg_add_pie_to_chart(fg_pie* pPie, fg_chart pChart, common::Pie* pie = new common::Pie(pNSectors, (forge::dtype)pType); chrt->addRenderable(pie->impl()); + chrt->setAxesVisibility(false); *pPie = getHandle(pie); } CATCHALL