Formatting Horizontal Lines Using IronPython

Hello,

I am trying to dynamically add a horizontal target line to one of my charts via IronPython.  I am able to add the line, rename it, format it the way I want, etc.  But the missing piece is that I can't figure out how to set the number formatting using python.  It's meant to be a percentage, but it's coming out to a $ value (same as the underlying columns in the calculation).

How can this be done in python?  I know how to do it through the menus, but can't find any reference to the number format in the API.

Thanks for your help!

(1) Answer

Login