I have enabled the zoom rectangle on a couple different charts and both of them when zoomed cover up the x-axis and there is no way to get it back once zoomed. I have not customized the axis at all and am simply adding multiple line series to the chart. Any ideas?
Steve
Steve,
Could you share what the xaml looks like around the chart. Its likely the layout isn't giving it enough room.
-Graham
Graham,
How do I add code inline to a post? I see no forum how to or formatting so I don't know how. I have seen you and others do it but can't glean the steps. Once I know that I'll add the code.
my method is a bit complex, unfortunately. I'm hoping that we can improve the ease of code posting in the future. In terms of simple methods. One thing that I've found works reasonably well is to paste the code into outlook and then copy it back out. Or you can surround the code in code tags <code> </code> except use square brackets instead of angle brackets. But still in both cases you have to be careful about line length. In any case I should be able to copy the code out of the post and make sense of it. Or you can email me at gmurray@infragistics.com.
I am facing similar issue. Did you find a solution to this ?
This is a litle better...
<UserControl xmlns:my="clr-namespace:....Controls" x:Class="....Views.Dashboard.OrgCountControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:igWebChart="http://schemas.infragistics.com/xamWebChart"
mc:Ignorable="d"
d:DesignHeight="110" d:DesignWidth="172"
Loaded="UserControl_Loaded">
<Grid x:Name="LayoutRoot" Background="White">
<my:BusyIndicator x:Name="busyIndicator" BusyContent="Loading Data...">
<igWebChart:XamWebChart HorizontalAlignment="Stretch" x:Name="chartOrgPeople" VerticalAlignment="Stretch">
<igWebChart:XamWebChart.ZoomRectangle>
<igWebChart:ZoomRectangle Enabled="True" />
</igWebChart:XamWebChart.ZoomRectangle>
</igWebChart:XamWebChart>
</my:BusyIndicator>
</Grid>
</UserControl>
Here goes...
I currently have a TileView and a control stretched within a tile pane. The control is solely a chart stretched to fill the control. The chart sizes correctly when the tile pane is maximized so I know the alignments are working correctly. Once I zoom to create the zoom bars, the x-axis is hidden. The other thing that is really funky is that with the tile pane maximized and the chart zoomed, the chart will no longer resize correctly when the tile pane is restored to normal size.
[UserControl xmlns:my="clr-namespace:....Controls" x:Class="....Views.Dashboard.OrgCountControl" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:igWebChart="http://schemas.infragistics.com/xamWebChart" mc:Ignorable="d" d:DesignHeight="110" d:DesignWidth="172" Loaded="UserControl_Loaded"] [Grid x:Name="LayoutRoot" Background="White"] [my:BusyIndicator x:Name="busyIndicator" BusyContent="Loading Data..."] [igWebChart:XamWebChart HorizontalAlignment="Stretch" x:Name="chartOrgPeople" VerticalAlignment="Stretch"] [igWebChart:XamWebChart.ZoomRectangle] [igWebChart:ZoomRectangle Enabled="True" /] [/igWebChart:XamWebChart.ZoomRectangle] [/igWebChart:XamWebChart] [/my:BusyIndicator] [/Grid] [/UserControl]