Skip to content

Commit

Permalink
Remove axes for pie chart
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharpm authored and 9prady9 committed Dec 24, 2019
1 parent 209e64e commit d5424e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/api/c/chart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d5424e5

Please sign in to comment.