Skip to content

Commit d5424e5

Browse files
tusharpm9prady9
authored andcommitted
Remove axes for pie chart
1 parent 209e64e commit d5424e5

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
@@ -168,6 +168,7 @@ fg_err fg_append_pie_to_chart(fg_chart pChart, fg_pie pPie) {
168168
ARG_ASSERT(1, (pPie != 0));
169169

170170
getChart(pChart)->addRenderable(getPie(pPie)->impl());
171+
getChart(pChart)->setAxesVisibility(false);
171172
}
172173
CATCHALL
173174

@@ -264,6 +265,7 @@ fg_err fg_add_pie_to_chart(fg_pie* pPie, fg_chart pChart,
264265

265266
common::Pie* pie = new common::Pie(pNSectors, (forge::dtype)pType);
266267
chrt->addRenderable(pie->impl());
268+
chrt->setAxesVisibility(false);
267269
*pPie = getHandle(pie);
268270
}
269271
CATCHALL

0 commit comments

Comments
 (0)