Hello *,
I need to display two charts one below the other, where the format and tickmarks of the axis-labels are customizable by the user.
actual:
|Axis1|Chart1|
|Axis2 with longer Labels|Chart2|
suggested:
| Axis1|Chart1|
|Axis2 with longer labels|Chart2|
Is there a simple way to sync the start of the chartareas or to sync the width of the axis-labels?
The labels in your sample do have the same style but not the original style that is applied to AxisLabels which have no AxisLabelSettings set in Xaml or Code-behind. For reference compare the y-axis labels with the x-axis labels.
Setting AxisLabelSettings will actual mean that you lose support for infragistics theming. If not please provide a sample where you set the AxisLabelSetting.Extend to 150 that has a theme chooser like the one in your Sample Browser (xamDataChart->Style->Theming).
Actual we do not rely on switching themes but to workaround the style to match the one used theme feels like a maintenance hell for every new release from IG.
Andreas,
I've uploaded another modified sample. Please clarify what it does/does not achieve. The axis label settings appear the same and are created in code behind. As far as the extents, you'll need to manually calculate that yourself.
I recommend submitting a new product idea for auto size axis feature on our website at ideas.infragistics.com
Let me know if you have any questions.
Hello Michael,
Setting the AxisLabelSettings.Extend to 50 does not reset the AxisLabelsetting to Autosizing. If you compare my last sample with the one you have modified you can see that the second click on the expand label button do not shrink the label area on the charts.
P.S.: There are several samples in the SampleBrowser setting the AxisLabelSettings in XAML, so it would be nice if you can provide a solution to apply the default styles.
Hi,
You need to set the AxisLabelSettings prior to expanding the labels for the default style to be applied. Let me know if you have any questions.
Hi
I attached my sample with the AxisLabelSettings defined in code behind and the default style is present. Without this defined in code behind an exception will occur.