简体   繁体   中英

Only the first series in Microsoft .NET stacked column chart control displays tooltip correctly

The following tooltip has been added to the stacked column chart series:

    foreach (Series s in ch.Series)
    {
        s.ToolTip = "#VALX: #SERIESNAME - #VALY";
    }

However, only the lowest stacked series in every column displays proper value for #VALX , ex:

Sales: From $0 to $1000 - 6

All other series above display 0 instead:

0: From $1001 to $10,000 - 19
0: From $10001 to $20,000 - 4

What am I doint wrong?

对于任何偶然发现的人,请尝试 #AXISLABEL 而不是 #VALX

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM