Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource lables and legend color when using the "Resource" parameter and grouping tasks #101

Open
erapade opened this issue Mar 6, 2018 · 5 comments
Assignees

Comments

@erapade
Copy link

erapade commented Mar 6, 2018

If I choose to add Resource labels when I also group the tasks, the visual does not work as expected

Resource Labels:

I can configure the "Full text" as well as the "Width by task" settings in the "Data Labels" menu. But if I enable both these settings, the "Full text" setting are overriding the "Width by task" setting as seen below.
image
Not using the "Full task" setting will truncate even the last occurrence of the text as seen below
image
My suggestion is that the "Width by task" setting will override the "Full task" setting so that the first labels can be truncated, but not the last one

Legend colors:

When I add data to the Resource parameter, the Legend color disappears, i.e. only one single color is used. As seen in the picture below, only one color are used and that can also bee seen in the control.
In my case, I used the same data for "Resource" as I used for "Legend", but I don't know if this effects the behavior. The reason for adding Legend data also as Resource was to make the visualization more verbose (not having to hover to see the data). But as the colors now are the same, I didn't get the expected result
image
As also can be seen in the picture above, the Legend list at the right are now empty, just containing a green dot. I guess this is somehow connected to that there is only one color

Maybe a solution is to enable the possibility to have Legend data shown as Data labels. In that case I would not have to add anything in the Resource parameter and that would probably let me keep the legend colors. If this is a solution, please add a checkbox in the "Data Labels" menu for choosing if Legend data or Resource data shall be used as Data labels.

Additionally

The "Date type" menu item is kind of hard to understand. It's more of a scale and axis setting. My recommendation is to rename it to "Scale" and also rename the "Type" attribute to "Time scale" or something equal
image

@uve
Copy link
Contributor

uve commented Mar 9, 2018

@erapade, thank you for your feedback. Could you please send a sample pbix report to reproduce the issue to Power BI Custom Visuals Support pbicvsupport@microsoft.com

@erapade
Copy link
Author

erapade commented Mar 13, 2018 via email

@uve
Copy link
Contributor

uve commented Mar 15, 2018

@erapade, thank you, I've added all items you described in Gantt visual roadmap.

@erapade
Copy link
Author

erapade commented Jun 3, 2019

Any news about the Legend Color. We also discovered that the task color reverts to the original green color whenever adding a legend. @uve

@helen508light
Copy link

@eparade
Color issue will be resolved on July version of Gantt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants