I'm using SWT chart and my stacked bar chart looks like in the picture below. The bar char represents the response time for services. The dark blue bar represents the technical part of the response time and the light blue bar represents the think time.
My question is now if it is possible to show the total response time in the light blue bar instead of only the think time. For example in the third row the total response time would be 10952 ms (technical response time + think time), but it only shows the think time which is 10000 ms. Does anyone know of a way to implement this into the SWT bar chart? Thanks in advance for your help.
OK I could now solve the problem by adding a SWT paint listener which draws a text for every bar:
After that the SWT bar chart looks like this:
Furthermore to show the values for the dark blue bar and the light blue bar separately, I added a listener which shows the respective value in a tooltip text when hovering over it with the mouse: