You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am charting 1440 values with 1440 chart labels (minutes in 24 hours) in range (0-23).
I have checked that I have exactly 60 labels with 23 (minutes in hour) same as for every other hour.
The grid should be evenly spread.
Current Behavior
The last grid column is stretched and do not keep scale with others.
Possible Solution
None.
Steps to Reproduce (for bugs)
Define data with 1440 data points.
Define chart labels from 0 to 23, each value 60 times.
@MichalMisiaszek based on your settings it looks like you wanted to use a numerical x axis. However, that hasn't been set so it would default to a category axis. You need to add type: 'linear' to the x axis config if you want a linear scale.
Alternatively, you can look at some of the new time scale settings that are in master. See #4507, #4568, and #4556 for details
Hi, When I set type: 'linear' ,X axis seems right, but no data displayed on canvas, but data has been stored in myChart instance.
Oh, I found the solution on #4687
Expected Behavior
I am charting 1440 values with 1440 chart labels (minutes in 24 hours) in range (0-23).
I have checked that I have exactly 60 labels with 23 (minutes in hour) same as for every other hour.
The grid should be evenly spread.
Current Behavior
The last grid column is stretched and do not keep scale with others.
Possible Solution
None.
Steps to Reproduce (for bugs)
ticks: {
stepSize: 1,
maxTicksLimit: 26,
suggestedMax: 24
},
scaleLabel : {
display: true,
fontColor: '#000000',
labelString: 'Time UTC (hours)'
}
}],
Context
The chart looks bad :(.
Environment
The text was updated successfully, but these errors were encountered: