Archive for December 11th, 2011

Excel poisoning #8: customizing chart programmatically (C#)

December 11, 2011

Want to change font size to axis’ labels?

Here is a brief sample, part II:

IOPXLS.Axis chartAxisY = myChart.Axes(XlAxisType.xlCategory) as IOPXLS.Axis;
chartAxisY.TickLabels.Font.Size = myChart.ChartTitle.Characters.Font.Size; 

This snippet sets axis label foint size, same as chart title.

Technorati tags: Excel, Csharp
Advertisements
  • December 2011
    M T W T F S S
    « Nov   Jan »
     1234
    567891011
    12131415161718
    19202122232425
    262728293031  
  • .

    .Net Agile Antivirus Book C# Programming EntityFramework GTD Hyper-V LinQ MVVM Office Resharper SCRUM Security Sharepoint Silverlight SQLServer TFS ToDoList Unit Test VirtualBox Virtual PC Visual Studio VMware Windows7 WPF XeDotNet XML XPath
  • Advertisements