Skip to content

Commit 4761c13

Browse files
committed
Remove axes for pie chart
1 parent 3c4184c commit 4761c13

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/api/c/chart.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ fg_err fg_append_pie_to_chart(fg_chart pChart, fg_pie pPie)
180180
ARG_ASSERT(1, (pPie!=0));
181181

182182
getChart(pChart)->addRenderable(getPie(pPie)->impl());
183+
getChart(pChart)->setAxesVisibility(false);
183184
}
184185
CATCHALL
185186

@@ -279,6 +280,7 @@ fg_err fg_add_pie_to_chart(fg_pie* pPie, fg_chart pChart,
279280

280281
common::Pie* pie = new common::Pie(pNSectors, (forge::dtype)pType);
281282
chrt->addRenderable(pie->impl());
283+
chrt->setAxesVisibility(false);
282284
*pPie = getHandle(pie);
283285
}
284286
CATCHALL

0 commit comments

Comments
 (0)