telerik / kendo-ui-core

An HTML5, jQuery-based widget library for building modern web apps.
http://www.telerik.com/kendo-ui
Other
2.54k stars 1.9k forks source link

Stock Chart with two axis to the left and one to the right does not render its width #5445

Open veselints opened 5 years ago

veselints commented 5 years ago

Bug report

Stock Chart with two axes to the left and one to the right does not render its width.

Reproduction of the problem

Run the following Dojo: https://dojo.telerik.com/@sspasova/IMeyuYUJ The Stock Chart does not render its width

Expected/desired behavior

The Stock Chart should render its width similarly to the Chart: https://dojo.telerik.com/oYizayUF/2

Environment

veselints commented 5 years ago

Possible workaround:

If only a single axis needs to be moved to the right, that could be achieved by setting the higher axisCrossingValue as a second member of the array. The desired axis should also be defined second:

categoryAxis: {
  labels: {
    rotation: "auto"
  },
  axisCrossingValue: [0,1000,0]
},