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
After getting help with getting the savetoimage part to work, i came across another issue.
As you can see in the image, the first bar will place the labels on the wrong spot. This is extended to the X-axis if i use labels here too. All the other labels are right where i want them, it is just the first bar that seems to have a weird offset.
I will add my chart related code below.
Series=newObservableCollection<ISeries>{newStackedColumnSeries<double?>{Name="Kostnad - material: ",Values=observableValues1,Stroke=null,DataLabelsPaint=newSolidColorPaint(newSKColor(45,45,45)),DataLabelsSize=20,DataLabelsPosition=DataLabelsPosition.Left,DataLabelsFormatter= point =>$"{string.Format("{0:C0}",point.PrimaryValue)}",},newStackedColumnSeries<double?>{Name="Kostnad - aktiva förluster: ",Values=observableValues2,Stroke=null,DataLabelsPadding=newPadding(5),DataLabelsPaint=newSolidColorPaint(newSKColor(45,45,45)),DataLabelsSize=20,DataLabelsPosition=DataLabelsPosition.Left,DataLabelsFormatter= point =>$"{string.Format("{0:C0}",point.PrimaryValue)}"},};XAxes=newList<Axis>{newAxis{TextSize=25,Labels=newList<string>{}}};YAxes=newList<Axis>{newAxis{Labeler=Labelers.Currency,Name="Total kostnad [kr]",NamePadding=newPadding(0,0,0,20),}};
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.
-
After getting help with getting the savetoimage part to work, i came across another issue.

As you can see in the image, the first bar will place the labels on the wrong spot. This is extended to the X-axis if i use labels here too. All the other labels are right where i want them, it is just the first bar that seems to have a weird offset.
I will add my chart related code below.
Beta Was this translation helpful? Give feedback.
All reactions