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 committed Aug 9, 2019
1 parent 3c4184c commit 4761c13
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 @@ -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

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

0 comments on commit 4761c13

Please sign in to comment.