[Paraview] Change the font in the Line Chart/XY plot

Marcus D. Hanwell marcus.hanwell at kitware.com
Tue Jun 7 10:08:02 EDT 2011


I don't see the patch, I can take a look at the patch if you upload
it. Now the vtkLegend object is exposed it should be relatively
simple.

Marcus

On Tue, Jun 7, 2011 at 5:45 AM, Paul Edwards <paul.m.edwards at gmail.com> wrote:
> BTW here is link to page on mantis
>http://www.paraview.org/Bug/view.php?id=10643
>
> On 7 June 2011 10:40, Paul Edwards <paul.m.edwards at gmail.com> wrote:
>>
>> I've added a feature request in mantis and attached a patch to change the
>> font in the legend.  Please can this be merged in?
>> Thanks,
>> Paul
>>
>> On 21 April 2010 16:42, pat marion <pat.marion at kitware.com> wrote:
>>>
>>> Hey Paul,
>>>
>>> If it's something you want to attempt yourself, you can grep for
>>> ChartTitleFont in rendering.xml to see how the title font property works.
>>> Then open vtkSMXYChartViewProxy.cxx and look at the implementation of
>>> SetTitleFont.  This is where the proxy calls the VTK chart api to set the
>>> title font.  I'm not sure what the vtk api for setting legend font is...
>>>
>>> Pat
>>>
>>> On Wed, Apr 21, 2010 at 10:20 AM, Marcus D. Hanwell
>>> <marcus.hanwell at kitware.com> wrote:
>>>>
>>>> On Mon, Apr 19, 2010 at 4:03 AM, Paul Edwards <paul.m.edwards at gmail.com>
>>>> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> Is there a way to change the font for the legend text?  In the chart
>>>>> options it only gives options for the location and flow and it doesn't
>>>>> seem to follow any of the other font settings.
>>>>>
>>>> This is possible in the VTK API, but not exposed in ParaView. We need to
>>>> add some interface to the settings dialog, and some extra proxy properties
>>>> for the charts. If you open a bug report we should definitely add this,
>>>> although I do not have time to look at this right now.
>>>> Thanks,
>>>> Marcus
>>>> _______________________________________________
>>>> Powered by www.kitware.com
>>>>
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.html
>>>>
>>>> Please keep messages on-topic and check the ParaView Wiki at:
>>>> http://paraview.org/Wiki/ParaView
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>>
>>>
>>
>
>


More information about the ParaView mailing list