Dear Lucas,<br><br>I think you need to implement your own classes. There is no way to draw a multi-level pie chart directly from a vtkChartPie (not from what I&#39;ve seen in the code). It should not be difficult. You could inherit from vtkChartPie and overload the method &quot;vtkPlot * vtkChartPie::AddPlot&quot;. You method will create a vtkPlotMultiPie. The behavior of this class should be quite the same than the class vtkPlotPie, but you need to give the good inner radius (and not 0.0 as in vtkPlotPie) to the method vtkContext2D::DrawEllipseWedge to draw the pies.<br>
<br>Arnaud<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 31, 2012 at 3:39 PM, Lucas Lira Gomes <span dir="ltr">&lt;<a href="mailto:x8lucas8x@gmail.com" target="_blank">x8lucas8x@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone,<br>
<br>
i&#39;ve been trying to draw a multi-level pie chart, also now as ring<br>
chart, for a while. Although I already succeeded in drawing a common<br>
pie chart using the vtkChartPie class, I&#39;m completely stuck in the<br>
multi-level part. If someone could help me by giving any tips,<br>
snippets or suggestions, I&#39;d be really grateful.<br>
<br>
Ring chart / Multilevel pie chart example:<br>
<a href="http://en.wikipedia.org/wiki/File:Disk_usage_(Boabab).png" target="_blank">http://en.wikipedia.org/wiki/File:Disk_usage_(Boabab).png</a><br>
<br>
Thanks in advance, Lucas Lira Gomes.<br>
<br>
----------------------------------------------------------------------------------<br>
Lucas Lira Gomes (llg)<br>
Linux User #533002<br>
Tel.: (81) 9235-0916<br>
<br>
<a href="http://www.about.me/lucasliragomes" target="_blank">www.about.me/lucasliragomes</a><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>