I have a composite chart composed of scatter and line charts. The charts share the X axis but each one uses Y and Y2 axes respectively and both Y axes are numeric. I need a 2Dbar chart that shares the X axis with the above 2 and a string data type Y axis. Is this possible? Thanks much!
As long as the X axis is numeric, it can be shared between scatter and bar layers. Line layers typically use a string X axis, unless you're using a scatter layer that connects its points. So it sounds like what you're describing should work fine. But if it doesn't, can youi post some more info and/or a code snippet?
You are correct, I'm using two scatter charts one with lines and one without. Both my Y and Y2 are numeric which led me to ask if a third chart that is 2D bar can use the common X and a new Y3 string?
Absolutely. This is as simple as adding a new string Y axis to the chart area and setting that y axis and an existing numeric x axis in a bar layer.
Max, is it possible to offset the bar graph along the Y axis and not necessarily on point 0 (zero)? I hope that makes sense :(
Sorry, I'm not sure what you mean. Can you post a screenshot? Were you looking to move the bar layer up/down, or provide axis margins?
Yeah, something like moving the bar layer for example at point 20 along Y. BTW I'm using 2d bar horizontal. In the attached image I need all bars to start above the highest Y point. Hope that helps you to help me :) Thanks!
Not sure if there are plans to support this. I suggest sending an email to productmanager@infragistics.com to inquire about it.
Thanks Max.
Further search in the forums yielded http://news.infragistics.com/forums/p/22546/82634.aspx#82634 where you gave sample code as well.
The requirement here(to have time axis for bar/column/...) seems to be a common one. Are there any plans to support it directly, without having to workaround by creating two axes. Creating two axes is work, esp with the string axis not moving as smooth as time axis for moving data(ranges need to be set in sync with the time axis)
Sorry, all our column charts have to use a string x axis. You would have to create 2 different x axes to display a column layer and a time-based line layer.
Max,
Is it possible to create a composite chart with two layers, one with line(or scatter) chart and the other with column chart(vertical bars). Both layers should use the same X-axis(which is a Timeaxis). Line chart uses Y-axis whereas the column chart uses Y2 axis.
The problem that we have encountered is that in composite chart, the column chart supports only String type for X-axis.
Thanks,
Rambabu.
Unfortunately, that behavior isn't supported. You can write the entire bar layer in FillSceneGraph event any way you want. That's about the only workaround I can think of.