https://bz.apache.org/ooo/show_bug.cgi?id=127050

--- Comment #2 from kevinzhang <[email protected]> ---
hi Hanya,

    Many thanks for your quickly reply, and I have a try with your suggestion,
using LineDashName, it works well. Thanks a lot!

    Actually, I have an other issue when I use API function to change the line
property in chart. The issue is it failed randomly when I set the properties,
like I set the "LineColor" "LineWidth" "SymbolStyle" etc. 

     that is very weird, because the properties setting failed randomly. And I
figure out a workaround to fixed this issue, but I think that is not a good
idea.

     My workaround code is as following: (I keep setting until the property be
set successfully ): 

        for (;;) {
            Integer color = 1973940;
            aseriespro = xDiagram.getDataRowProperties(1);

            aseriespro.setPropertyValue("LineColor", (color));
            KEY =
color.equals((Integer)aseriespro.getPropertyValue("LineColor"));
            if (KEY) {
                break;       
            }
        }
        aseriespro.setPropertyValue("LineStyle", LineStyle.DASH);
        .....
        .....

Would you please help to have a look? why I met that issue? and How can I avoid
this issue?

( If the funciton getDataRowProperties() is wrong usage)

Many Thanks,

Yaokai

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to