I have a silverlight graph and i need to have same place betweem axis name and values.
I used for that margin like code below:
Setter setX = new Setter(AxisLabel.MarginProperty, "0,15,0,0");
independentLA.TitleStyle.Setters.Add(setX);
This code work fine. I try it applied to axis Y.
Setter setY = new Setter(AxisLabel.MarginProperty, "0,0,0,15");
dependentLA.TitleStyle.Setters.Add(setY);
But this code dont work. It is the same like before, but dont work. I do not understand.
pic
I try to set margin like: 1500,1500,1500,1500 to find out what it done, but nothing changed :)
Why label name on AXIS Y do not margin ?
thanks
EDIT :
I solve this problem adding "\n" to axis name, but still wondering why margin do not work :)