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 building a chart with dynamic data and aiming to display axis labels in a way that is appropriate for each scenario. When I create a chart using 'autosize: fit' and combine it with expr in labelAlign, labelAngle, or labelExpr, at a certain width, the chart will have a fitting issue where a portion overflows outside the view. As the example below, a part of the chart, namely the legend, is missing, and the legend becomes visible when the width is set larger. If I directly set values for labelAngle and labelAlign instead of using expr, the chart renders correctly.
I am building a chart with dynamic data and aiming to display axis labels in a way that is appropriate for each scenario. When I create a chart using 'autosize: fit' and combine it with expr in labelAlign, labelAngle, or labelExpr, at a certain width, the chart will have a fitting issue where a portion overflows outside the view. As the example below, a part of the chart, namely the legend, is missing, and the legend becomes visible when the width is set larger. If I directly set values for labelAngle and labelAlign instead of using expr, the chart renders correctly.
vega editor example
width: 620
width: 640
The text was updated successfully, but these errors were encountered: