<div dir="ltr">Got it, thanks!<br><br>Jothy<br><br><div class="gmail_quote">On Fri, Aug 12, 2011 at 5:53 PM, Eric E. Monson <span dir="ltr">&lt;<a href="mailto:emonson@cs.duke.edu">emonson@cs.duke.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word">Hey Jothy,<div><br></div><div>That should basically be the right way to do it. If you&#39;re feeding the opacity call a float, you should be using -&gt;SetOpacityF(0.6), but that basic method works for me...</div>
<div><br></div><div>Are you using VTK dev or 5.6?</div><div><br></div><div>-Eric</div><div><br><div>
<span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">
<div>· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·</div><div>Eric E Monson</div><div>Duke Visualization Technology Group</div><div><br></div></div></span></span>
</div>

<br><div><div><div></div><div class="h5"><div>On Aug 12, 2011, at 9:37 AM, Jothy wrote:</div><br></div></div><blockquote type="cite"><div><div></div><div class="h5"><div dir="ltr">Hi all,<br><br>How could I change grid opacity in vtkChartXY?<br>
<br>I tried <span style="color:#c0c0c0"></span><span style="color:#008000"> chart-&gt;GetAxis(vtkAxis::BOTTOM)-&gt;GetGridPen()-&gt;SetOpacity(0.6);<br>
<br>But no effect.<br><br>Thanks<br><br>Jothy<br></span></div></div></div>
_______________________________________________<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></div></blockquote></div><br></div>