Jump to content

Formatting Horizontal Lines Using IronPython


Recommended Posts


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!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...