on 07-23-2013 12:10 PM
Hi all,
My requirement is draw group bar chart based on the machine's downtime vs availabilty(PFA).
I need steps to be followed to achieve my requirement.
In the chart: the values to be mapped are
X axis- shiftid(per day 3 shifts)
y axis- Downtime in mins
Please help me regarding this.
Thanks and Regards,
Santhosh K
Hi Santhosh,
Looking at the screenshot shared by you, you need to use a stacked bar chart instead of a group bar chart in the iChart template.
Your xml structure should be as below and rest of the configurations you can do as per your requirement and as suggested by Rutika.
Shift Id | Downtime 1 | Downtime 2 | Downtime n |
123 | |||
234 | |||
345 |
Hope this helps!!
Thanks & Regards,
Anuj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Santhosh,
This is where stacked bar chart comes into picture in which you will be able to see one bar with different downtimes in different color for each machine id.
So in your case, you will have 3 bars for 3 machine ids and each bar will have 3 downtimes one above the other in different colors.
Regards,
Anuj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Santhosh,
You can do this using the existing 'iChart' applet in MII.
I hope you are aware of how to start creating a new 'iChart' type of file on the MII Workbench.
This should plot the chart as expected.
Thanks,
Rutika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rutika,
Thanks for ur support.
I followed ur instructions and i got the output like:
In that how to change the color of bars.
Here: y-axis- downtime(each machine(8,9,27) have 3 downtime types, so 3 bars coming for each machine).
x-axis- machineid(8,9,27).
I want to show each downtime in diffirent color(per machineid).
please help me to change color.
Also is there any possibility to bring 3 downtimes in single bar with diffirent color?
Thanks & Regards,
Santhosh K
User | Count |
---|---|
12 | |
6 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.