Color of labels on lines in line chart and data points
In below screenshot a part of a linechart with the labels at the end of the line, using a dual function in the expression.
Can anyone help me with below two questions?
1. Is there a way to change the color of the label? In the dual function itself? I'd like them to have the same color as the line it belongs to (2019 should be blue).
2. Is there a way to get rid of the datapoints? In the chart properties I have to check the "show datapoints" in order to show the datalabels (in this case only at the end), but I only need the two datalabels.
Re: Color of labels on lines in line chart and data points
Thank you for your reply.
1. I already use master items, measures. Here I can set the color of the line, but it does not effect the color of the datalabels, I'd like to color the datalabel "2019" in blue in correspondance to the line it belongs to.
In the masteritem I use a dual function, see below.
'2019' is the datalabel. Is there a way to give this label a color within the dual function itself, maybe?
2. In this case I don't want to use the legend but label the lines directly. But because I want a focus on overall trends in stead of details I like to get rid of the datapoints, but not the label. It appears to me that datapoints is a prerequisite for the appearance of datalabels. Is there a way to go round this?