Jump to content

Mark series of combination chart through ironpython


Fabio Ruggeri

Recommended Posts

Hi everyone,

I have a combination chart with three series, two represented as lines and one as bars.

I have many trellis pages with the same structure.

I attach an example of dashboard.

I would like to see labels just on bars and on ONE of the two line series (Sum(Actual) in the attached example).

In the properties, I have set 'Show labels for' --> 'Marked rows'

Is there a way to mark a series of a combination chart with an ironpython script that can be run by clicking a button

The ideal result should be the one in the attached .png image, that I got by clicking on series that I saw in the legend.

If you have different ideas in order to get the same result without the use of ironpython, they are welcome :)

Thanks a lot

Fabio

Link to comment
Share on other sites

I was able to find a solution.

I put all values (actual, budget and actual_by_year) in the same column and I added a column 'Category' with their respective labels. I used this last column to 'Series by'. I select the property 'Show labels for' --> 'Marked rows' and I wrote an ironpython scritp to mark all rows where Category is different from 'budget'. In this way all rows apart from budget one are marked and their labels appear on the screen.

I hope this could be useful for someone else.

Thanks

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...