Forum Discussion
Scatter chart with smooth lines
Hi, can you give me some pointers how to remove data labels from the plot (not axis) and how to apply power bi report coloring for data series (catergorical by which I mean the same that other build-in apps use)? Or is this available only as custom solution?
Hi davidz106 ,
1. Two ways to remove labels, either do not bind anything for Label field OR switch the label off (Visual Attributes -> plot_{index} -> Label (in the pbivizedit service and not visual).
2. I think, you are using single series and binding legend to the field. If that is correct, bind the same field with Marker color too. And then in the Marker->color-> Categorical colors. This will open Set color expression dialog. You can define your categories and colors. (Again, in pbivizedit service and not visual) Though this is limited in terms of functionality, but works for the time being.
Once you do this, export your visual. Let me know, if this works.
Thanks,
Radhey
- davidz1064 years agoHelper III
Thanks Radhey!
First solution (remove labels) works great once I set it up online.
I still cannot work around the line colouring (I don't use Markers either). You are correct, I am using single series and binding legend to the field. Like you mentioned there is a way to define categories manually online but I guess currently there is no functionalty to use category colors from Power BI original theme, right? If I were to do it manually, I would have to define n categories and when I use this visual for different project change it again (there are 100+ sample data derived from legened field).
Ideal scenario for me would be a smooth line chart (left) but with coloring of built-in line chart in right.
Thanks in advance,
David