<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-02-08 7:54 GMT+01:00 Elvis Stansvik <span dir="ltr"><<a href="mailto:elvis.stansvik@orexplore.com" target="_blank">elvis.stansvik@orexplore.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="gmail-">2017-02-08 7:52 GMT+01:00 Elvis Stansvik <span dir="ltr"><<a href="mailto:elvis.stansvik@orexplore.com" target="_blank">elvis.stansvik@orexplore.com</a>></span><wbr>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi all,<br><br></div>I have a somewhat strange requirement: I have a vtkChartXY, and along one of its axes I need to enable ticks at *only* positions 0 and 1. The tick at 0 should be labeled "0", while the tick at 1 should be labeled "Al" (Aluminum).<br><br></div>I've been looking at the API of vtkChartXY and vtkAxis, but haven't found anything promising. Is it impossible?<br></div></div></div></blockquote><div><br></div></span><div>Forgive me, I realize now that I probably want ticks all along the axis. But labels only at 0 and 1. So perhaps it's easier to accomplish this?<br></div></div></div></div></blockquote><div><br></div><div>And forgive me again, I now found vtkAxis::SetCustomTickPositions which looks exactly like what I need.<br><br></div><div>Sorry for the noise.<br><br></div><div>Elvis<br><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>Elvis<br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><br></div>Thanks in advance,<br></div>Elvis<br></div>
</blockquote></div><br></div></div>
</blockquote></div><br></div></div>