Profile Picture

Custom label color via expression in Data Labels > Format

Posted By Mark Weinmann 11 Years Ago

Custom label color via expression in Data Labels > Format

Author
Message
Mark Weinmann
Posted 11 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 2, Visits: 1
I am attempting to modify the colors of part of a data point label text.

Can I use an expression to dynamically change the color of portions of the data point label?

My "Format" for the series data label is shown in the "format.png" attachement

I would like the data point's label to utilize a dynamic dataset lookup and look like the attached "example.png".

Is this possible to accomplish?

Note: This is on a pie chart that is using the same lookup to assign the custom data point appearance.

Attachments
format.png (52 views, 94.00 KB)
example.png (50 views, 2.00 KB)
Nevron Support
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,043, Visits: 3,777
Hi Mark,

Yes that's possible to accomplish - you should put the expression that generates the XML formatted label in the Values Grouping\General\Label field - for example:


=Fields!ContinentName.Value + "
hello labels"

and set the data label format to:

"<label>"

That way your expression will be evaluated for each data point and the result will be displayed in the label.

Hope this helps - let us know if meet any problems or have any questions.

Best Regards,
Nevron Support Team



Mark Weinmann
Posted 11 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 2, Visits: 1
Adding it to the Values Grouping\General\Label field worked perfect!

Thanks



Similar Topics


Reading This Topic