Hi @Divya Hari ,
I tried your code and found the problem.
You are locating coordinates based on task_status so you need to make sure task_status_name is included in each entry.
'Test3' from the data table is missing on the axis label.
"Test3" is missing because "Test3" has no In Progress.
it's values are coming with 'test 1'.
The data that needs to be displayed is included in the next line, such as data_tasks.Rows.Add(4, "Assigned", "Test2"); Only when Test1 contains Assigned will it be displayed correctly, otherwise it will be displayed in text1.
data_tasks.Rows.Add(1, "In Progress", "Test1");
data_tasks.Rows.Add(1, "Assigned", "Test1");
data_tasks.Rows.Add(2, "Prepare", "Test1");
data_tasks.Rows.Add(2, "Completed", "Test4");
data_tasks.Rows.Add(6, "In Progress", "Test2");
data_tasks.Rows.Add(6, "Assigned", "Test2");
data_tasks.Rows.Add(4, "Prepare", "Test2");
data_tasks.Rows.Add(2, "In Progress", "Test3");
data_tasks.Rows.Add(2, "Assigned", "Test3");
data_tasks.Rows.Add(2, "Prepare", "Test3");
data_tasks.Rows.Add(5, "In Progress", "Test4");
data_tasks.Rows.Add(5, "Assigned", "Test4");
data_tasks.Rows.Add(8, "Assigned", "Test5");
Best regards,
Lan Huang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.