problem with reading chart title from excel c# RRS feed

  • Question

  • Hi,

    I'm trying read chart title.



    Excel.ChartObject chart = ...
    if (chart.Chart.HasTitle)
        result.Title = chart.Chart.ChartTitle.Caption;


    Some charts have title but chart.Chart.HasTitle = false.



    I thing that it is not title. May be it axis title or ... Please help me deal with this.


    PS. This document I received from the customer for application testing

    PSPS. Sorry for my bad English.

    Friday, March 18, 2011 2:50 AM

All replies

  • Hi artem_3a,

    Thanks for posting in the MSDN Forum.

    It’s based on my experience, that which you shown to us is not a chart title. The Chart title will not appear in that place, it always appears above the chart.

    Have a good day,


    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, March 21, 2011 11:54 AM