Hello all,
I'd first like to say that these forums have been extremely helpful to me so far, and thank you to the people asking insightful questions and to the people taking the time to respond.
My issue today is that I can't seem to get my secondary axes to be visible just by setting their visibility property. I was wondering if there are some other properties that need to be set, or if there is some sort of data requirement.
The strange thing is that visibility works fine for my primary axes, which leads me to believe that I am providing something there that is required. I have also debugged and ensured that I am passing the correct value to the binding.
I have included the xaml for one of my axes below:
<igWebChart:Axis AxisType="SecondaryX" Visibility="{Binding SecondaryXAxisVisibility, Converter={StaticResource BooleanToVisibilityConverter}, FallbackValue=Collapsed}" AutoRange="{Binding SecondaryXAxisAutoRange}" Minimum="{Binding SecondaryXAxisMinimum}" Maximum="{Binding SecondaryXAxisMaximum}" Unit="{Binding SecondaryXAxisUnit}">
<igWebChart:Axis.MajorGridline>
<igWebChart:GridlineGroup Visibility="{Binding SecondaryXAxisGridlineVisibility, Converter={StaticResource BooleanToVisibilityConverter}}" Stroke="{Binding SecondaryXAxisGridlineColor}"/>
</igWebChart:Axis.MajorGridline>
<igWebChart:Axis.Label>
<igWebChart:LabelGroup Angle="{Binding SecondaryXAxisLabelAngle}" Format="{Binding SecondaryXAxisLabelFormat}" FontFamily="{Binding SecondaryXAxisLabelFontFamily}" FontSize="{Binding SecondaryXAxisLabelFontSize}" Foreground="{Binding SecondaryXAxisLabelFontColor}"/>
</igWebChart:Axis.Label>
</igWebChart:Axis>
Any insight would be appreciated. Thank you for your time.
Hi Matt,
Thank you for your post. I have a couple of questions regarding the project where you took the above XAML snippet from.
1). Do you have Primary axes created in this project as well as secondary axes?
2). If you do have primary axes, do you have data plotting on them?
3). Do you have any data plotting on your secondary axes?
Thank you,
Marisa
Hello Marisa,
1) I actually have all four axes explicitly defined in the xaml, in the same way you see in the snippet. All of the bindings are exactly the same.
2/3) For the primary axes I DO have data plotted against them - is there some mechanism required to explicitly plot data against the secondary axes, and is this necessary for the axis to be visible? If so, is it possible to have a series plotted against both a primaryY and secondaryY axis simultaneously? The end result I am going for is depicted in the following capture.
Thank you for your quick response!
Hi there,
Would it be possible to send me a small sample project that demonstrates the problem you are seeing?
Thanks,
I have encountered a problem with bar/column charts that are using multiple series, with each series using a different set of axes. It appears that if two series don't share the same X and Y axes, they overlap. This is desireable in some cases, but in the case where I want the bars/columns to appear side-by-side, it's a problem. I'm looking to do something like this:
Thanks!
Hi Will,
A bug has been submitted for this issue and is currently in review by our developers. For your reference, the bug number is 28893. I will contact our Developer Support team and have them link you to this bug so you can be notified when it's fixed.
Thanks,Marisa
As a related note - when I do have multiple series within the same chart, the labels along any shared axis overlap in a completely unacceptable fashion (the Primary X axis in the attached image):
HI,
This issue should be resolved in the latest service release.
Sincerely, Matt Developer Support Engineer