<div dir="ltr">Hello all,<div><br></div><div>I am having two problems:</div><div>1) I am unable to control the width of the bar in vtkPlotBar</div><div>2) I cannot set the axis to invisible<br><div><br></div><div><br></div>

<div style>There is a previous plot in corner 0 that behaves the same way</div><div>------------------</div><div><div>  vtkPlotBar* plot = chart_-&gt;AddPlot(vtkChart::BAR);</div><div>  chart_-&gt;SetPlotCorner(plot, 2);</div>

<div>  plot-&gt;SetWidth( 50  );  // No effect</div><div>  plot-&gt;SetInputData(table,1,2);</div><div><br></div><div>  vtkAxis *x_axis = chart_-&gt;GetAxis(vtkAxis::TOP);</div><div>  x_axis-&gt;SetVisible(false);  // No effect<br>

</div><div><br></div><div>  vtkAxis *y_axis = chart_-&gt;GetAxis(vtkAxis::RIGHT);</div><div>  y_axis-&gt;SetVisible(false); // No effect<br></div></div></div><div>----------------------</div><div><br></div><div style>1) Whatever I put to SetWidth the plot is unchanged  Looking at the code this should change the width of the bar since it is passed to the PaintSegments functions.</div>

<div style><br></div><div style>2) The vtkAxis::SetVisible(false) has not effect</div><div style><br></div><div style>Anyone has any hints of what I am doing wrong?</div><div style><br></div><div style>Thanks,</div><div style>

Alex</div><div style><br></div></div>