| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0011393 | VTK | (No Category) | public | 2010-11-02 14:14 | 2016-08-12 09:55 | ||||
| Reporter | Pof | ||||||||
| Assigned To | Marcus D. Hanwell | ||||||||
| Priority | normal | Severity | feature | Reproducibility | always | ||||
| Status | closed | Resolution | moved | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0011393: method SetBorders() in vtkChartXY | ||||||||
| Description | The chart borders cannot be modified with the method SetBorders(), i.e. no chart modification appears. | ||||||||
| Tags | No tags attached. | ||||||||
| Project | |||||||||
| Type | |||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0026299) Marcus D. Hanwell (developer) 2011-05-02 10:36 |
I think this is addressed with the AutoSize ivar in vtkChart to a degree. If that is set to false, then any values you set here will be respected. If you want to change the borders to a fixed amount while still filling the window then some more work is required. |
|
(0026426) Pof (reporter) 2011-05-03 12:58 |
Hi Markus, I can't find how to perfomrm what you're asking (setting AutoSize to false and set a value). Could you give point me to the right syntax? Thanks |
|
(0026451) Marcus D. Hanwell (developer) 2011-05-06 16:00 |
If you have a chart object, vtkNew<vtkChartXY> chart; chart->SetAutoSize(false); chart->SetSize(vtkRectf(0.0, 0.0, 100.0, 100.0)); This would create a chart that occupied the bottom corner of the screen, and took up 100 x 100 pixels. See the TestChartsOn3D test for an example of a fixed size chart (VTK master, Charts/Testing/Cxx/TestChartsOn3D.cxx). |
|
(0026454) Pof (reporter) 2011-05-06 18:07 |
I cannot find the methods SetAutoSize() and SetSize(). I suspect it is not available in vtk5.6.1, which is the version I'm using. Is it correct? |
|
(0026476) Marcus D. Hanwell (developer) 2011-05-10 11:23 |
Sorry, it is new API. VTK 5.8.0 is due out very soon. |
|
(0037209) Kitware Robot (administrator) 2016-08-12 09:55 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2010-11-02 14:14 | Pof | New Issue | |
| 2010-11-02 14:21 | Marcus D. Hanwell | Status | backlog => tabled |
| 2010-11-02 14:21 | Marcus D. Hanwell | Assigned To | => Marcus D. Hanwell |
| 2011-05-02 10:36 | Marcus D. Hanwell | Note Added: 0026299 | |
| 2011-05-02 10:36 | Marcus D. Hanwell | Status | tabled => @20@ |
| 2011-05-03 12:58 | Pof | Note Added: 0026426 | |
| 2011-05-03 12:58 | Pof | Status | @20@ => tabled |
| 2011-05-06 16:00 | Marcus D. Hanwell | Note Added: 0026451 | |
| 2011-05-06 18:07 | Pof | Note Added: 0026454 | |
| 2011-05-10 11:23 | Marcus D. Hanwell | Note Added: 0026476 | |
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
| 2013-12-12 23:01 | Dave DeMarle | Status | backlog => expired |
| 2013-12-12 23:01 | Dave DeMarle | Resolution | open => fixed |
| 2016-08-12 09:55 | Kitware Robot | Note Added: 0037209 | |
| 2016-08-12 09:55 | Kitware Robot | Status | expired => closed |
| 2016-08-12 09:55 | Kitware Robot | Resolution | fixed => moved |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |