This is a migrated thread and some comments may be shown as answers.

DataGrid Text Size

1 Answer 65 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Jamie
Top achievements
Rank 1
Jamie asked on 04 Feb 2009, 01:05 AM
Is there a way to set the size of the text in a datagrid for a chart?  Seems an easy thing, but I've been digging around and haven't found anything.

Thanks,
Jamie

1 Answer, 1 is accepted

Sort by
0
Accepted
Velin
Telerik team
answered on 05 Feb 2009, 03:44 PM
Hi Jamie,

You can adjust the font size of the data shown in the DataTable object via the "PlotArea.DataTable.Appearance.TextProperties.Font.Size" property. Here is a sample code demonstrating this in code behind and declaratively:

//code behind 
chart.PlotArea.DataTable.Appearance.TextProperties.Font.Size = 15
 
//declaratively 
<PlotArea> 
    <DataTable Visible="True"
        <Appearance TextProperties-Font="Verdana, 15pt" /> 
    </DataTable> 
</PlotArea> 
 

Kind regards,
Velin
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Chart (Obsolete)
Asked by
Jamie
Top achievements
Rank 1
Answers by
Velin
Telerik team
Share this question
or