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, I would like to place the SideTitleWidget for the left y-axis inside of the graph while also keeping the reservedSize at 0, because I want the graph to take up the entire width of the screen. See screenshot of our UX designer.
Is this possible to do at all? I am able to wrap it in a Transform widget to move to labels to the right, so that they overlap the graph, but as soon as I set the reservedSize to 0, the widgets disappear.
This is what I currently have:
returnSideTitleWidget(
axisSide: meta.axisSide,
space:0,
// fitInside: SideTitleFitInsideData.disable(),// fitInside: SideTitleFitInsideData(// enabled: true,// axisPosition: 10,// parentAxisSize: 10,// distanceFromEdge: 10,// ),
child:Transform.translate(
offset:constOffset(30, 0), // Move the text to the right
child:Text(
UnitHelper.unitValueForDisplay(
value: value,
valueType:ToolAttributeValueType.pressure,
unitSystem: unitSystem,
),
style: style,
textAlign:TextAlign.center,
),
),
);
reservedSize = 27
reservedSize = 0
The text was updated successfully, but these errors were encountered:
Hi, I would like to place the
SideTitleWidget
for the left y-axis inside of the graph while also keeping thereservedSize
at 0, because I want the graph to take up the entire width of the screen. See screenshot of our UX designer.Is this possible to do at all? I am able to wrap it in a
Transform
widget to move to labels to the right, so that they overlap the graph, but as soon as I set thereservedSize
to 0, the widgets disappear.This is what I currently have:
reservedSize = 27
![Schermafbeelding 2025-01-09 om 23 04 23](https://private-user-images.githubusercontent.com/12937637/401711563-da505916-300e-480f-bccd-5e832c936988.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NzYyMTgsIm5iZiI6MTczOTQ3NTkxOCwicGF0aCI6Ii8xMjkzNzYzNy80MDE3MTE1NjMtZGE1MDU5MTYtMzAwZS00ODBmLWJjY2QtNWU4MzJjOTM2OTg4LmpwZWc_WC1BbXotQWxnb3JpdG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ZjhjNmEzMDMyOWZjNTZmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.nJBjPLkrs7MggjwrYQOxhKDRJjCG6eP9hWx5wYmnqgY)
The text was updated successfully, but these errors were encountered: