Closed johnkraczek closed 2 years ago
After attempting to change the colors of the activity bars in an Activity chart I found that the activity renderer was not functioning properly.
After running the chrome debugger I was able to determine that the Gantt.utils.hasClass() accepts 2 parameters:
but in the activity renderer only passes the class its checking for:
There were some other errors that I fixed inside the setBackground function.
It works for me now, and I have added an example of using the activity chart with colors in the ibm-gantt-chart-dev package.
After attempting to change the colors of the activity bars in an Activity chart I found that the activity renderer was not functioning properly.
After running the chrome debugger I was able to determine that the Gantt.utils.hasClass() accepts 2 parameters:
but in the activity renderer only passes the class its checking for:
There were some other errors that I fixed inside the setBackground function.
It works for me now, and I have added an example of using the activity chart with colors in the ibm-gantt-chart-dev package.