From 4761c13e836804c3195aa4e10d9798d8127aa20d 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 e63af516..d21ca754 100644 --- a/src/api/c/chart.cpp +++ b/src/api/c/chart.cpp @@ -180,6 +180,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 @@ -279,6 +280,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