Skip to Content

Stacked Bar Chart: Show Time Scale(like 14:22) in x-axis of stacked_bar Chart using viz_frame

Mar 07, 2017 at 06:48 AM


avatar image
Former Member

Hi Experts,

Below is the image of my stacked bar.

Here, I am trying to show the time scale in x-axis of stacked_bar chart and I have no idea how to show time scale.I tried few things like passing datatype as date,but nothing is happening.

var oPerformanceStripDataset = new{
dimensions: [{
axis: 1,
name: "ChartType",
value: "{ChartType}"
axis : 2,
name : 'StoppageType',
value : "{StoppageType}"

measures: [{
name: "Date",
value: "{Date}",
dataType: 'date'

data: {
path: "/Rowset/Row"

I want to show like below image.



sfeko.png (9.2 kB)
iitvh.png (9.8 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Srikanth KV Mar 07, 2017 at 04:54 PM

Set chart type as stacked bar chart

I guess you are trying to measure Planned, Unplanned and Runtime which are coming from 'StoppageType', if so set measure as 'StoppageType' and dimension as 'Date'

10 |10000 characters needed characters left characters exceeded