Perspective: Time series chart, how to set width of bars

Hi

We are using a time series chart to show data on an hourly basis. The output of the chart is shown in the image:

output

Wanted to know how to increase the width of the bars, as they are appearing very thin. I’m not able to figure out why, probably it is an issue with the time interval.

Yash,

The graph best to use is dependent on what you’re trying to display. If the data you trying to display is not tag history, you may want to use something like the Bar Chart.

Can you explain a little more for what are type of data you trying to display? On first look, it seems you are storing tag history hourly but not in between each hour. The time series chart graph displays data from a tag history table in a way that is visually akin to a stock market graph.

Here is the Timeseries Chart Documentation for a quick reference.

-Ethan

I am seeing the same behavior. I have a dataset with a row for each day of the month and 8 columns. The bars are too narrow.

I also notice that the bars stack even when you select NOT to stack - this is even true with the sample data when you first place the component. With sample data the bars are the expected width, but they stack regardless of settings.

Thanks,
Max

Post your Time Series Chart JSON and if the data is from a binding post the data separately so we can reproduce the problem and suggest a fix. Please post formatted code. See Wiki - how to post code on this forum.

Here is an example data set.

{
  "$": [
    "ds",
    192,
    1709187686482
  ],
  "$columns": [
    {
      "name": "Day",
      "type": "Date",
      "data": [
        1706745600000,
        1706832000000,
        1706918400000,
        1707004800000,
        1707091200000,
        1707177600000,
        1707264000000,
        1707350400000,
        1707436800000,
        1707523200000,
        1707609600000
      ]
    },
    {
      "name": "Quantity",
      "type": "Integer",
      "data": [
        2,
        12,
        0,
        0,
        5,
        4,
        11,
        7,
        12,
        0,
        0
      ]
    },
    {
      "name": "Ave Time",
      "type": "Double",
      "data": [
        13.0,
        39.333333,
        null,
        null,
        41.6,
        47.0,
        42.90909,
        48.714285,
        33.25,
        null,
        null
      ]
    }
  ]
}

Here is how the chart looks:

It is configured not to stack, yet the bars are stacked:

Thanks,
Max

Here's a time series bar chart with the default sample dataset. If I uncheck "stack," the pressure and temperature bars should appear next to one another, but they still stack.