Fabio Ruggeri Posted March 7, 2020 Share Posted March 7, 2020 Hello, I have a combination chart with one series of bars and two series of lines. I would like to have labels for the bars and even labels for just ONE of the two lines. I know how to show/remove labels for line series, but I don't know how to do that for just one of my series line. Is it possible, maybe using ironpython I saw that it is possible to write this command myVis.Lines.ShowMarkerLabels = True but this applies to all my series lines, I'm not able to apply that to just one. Thank you for your help Fabio Link to comment Share on other sites More sharing options...
Tyger Guzman 2 Posted March 9, 2020 Share Posted March 9, 2020 You can set the format (Properties->Formatting) and set the format of one of the lines to acustomformat and put in spaces. This will cause the labels to be blank for that axes/line in the combination chart. Link to comment Share on other sites More sharing options...
Fabio Ruggeri Posted March 10, 2020 Author Share Posted March 10, 2020 Thanks for your reply.If I am not wrong, following your suggestion I remove the labels of lines, bars and axes from the combination chart. What I need, instead, is to maintain bar and axes labels, maintain labels of one line (named 'Actual'), but remove the labels for just one line (named 'Budget'). In Properties -> Labels there is the option Show line marker labels that shows or removes the line labels. I need something similar, but working just for my 'Budget' line. This is the reason why I am looking at ironpython script, because it seems there is no a default option that allows to do what I need.Thanks Fabio Link to comment Share on other sites More sharing options...
Tyger Guzman 2 Posted March 10, 2020 Share Posted March 10, 2020 Keep all the labels on for bar and lines. Then in formatting change the format of the line you don't want labels on to spaces instead of #.###. Having the format set to blank/spaces will cause that lines labels to not display. Link to comment Share on other sites More sharing options...
Fabio Ruggeri Posted March 10, 2020 Author Share Posted March 10, 2020 If I follow what you suggest, I remove all labels (for axes, bars and lines). This is probably due to the fact that I use Y-axis individual scaling for each trellis panelFabio Link to comment Share on other sites More sharing options...
Tyger Guzman 2 Posted March 10, 2020 Share Posted March 10, 2020 If you could post an example dxp it could be helpful. My assumption was that the axis values were all three different expression/columns. So chaning the format of one should only affect the single line. Link to comment Share on other sites More sharing options...
Fabio Ruggeri Posted March 17, 2020 Author Share Posted March 17, 2020 I edited my question attaching a .dxp example. What I would like to get is removing labels from the red line, but maintaining the labels in the blue one and in the bars. Thanks Fabio Link to comment Share on other sites More sharing options...
Fabio Ruggeri Posted March 20, 2020 Author Share Posted March 20, 2020 Anyone else has an idea about how to solve this problem Thank you Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now