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
Hi folks,
While making line chart drawings in charts, my data is drawing left and right as 0 to 0, but I want these drawings to be drawn as 12 pixels from left and right. In order to capture this drawing, I use the x-axis tickPlacement feature to give the 'between' value, but if the data set is low, the drawing is very middle, the padding values from left and right are very high.
How can I fix this? What I want to do is to leave a certain pixel value from left and right in a fixed way and provide the chart drawing in the remaining area.
When I use tickPlacement: 'between';
Since it tries to evenly distribute the available data set according to the chart size, the padding values on the left and right are too high. So this feature is not useful for me.
According to my research, another solution seems to be to manipulate the data set. But I don't want to use this solution. It is mentioned that I can create this by giving null to the initial and final value. But since charts use a large data set and there are many customizable operations, solving this problem by entering null values here may cause different problems. So is there any way to give left and right padding values for direct plots?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks,
While making line chart drawings in charts, my data is drawing left and right as 0 to 0, but I want these drawings to be drawn as 12 pixels from left and right. In order to capture this drawing, I use the x-axis tickPlacement feature to give the 'between' value, but if the data set is low, the drawing is very middle, the padding values from left and right are very high.
How can I fix this? What I want to do is to leave a certain pixel value from left and right in a fixed way and provide the chart drawing in the remaining area.
When I use tickPlacement: 'between';
Since it tries to evenly distribute the available data set according to the chart size, the padding values on the left and right are too high. So this feature is not useful for me.
According to my research, another solution seems to be to manipulate the data set. But I don't want to use this solution. It is mentioned that I can create this by giving null to the initial and final value. But since charts use a large data set and there are many customizable operations, solving this problem by entering null values here may cause different problems. So is there any way to give left and right padding values for direct plots?
Beta Was this translation helpful? Give feedback.
All reactions