I have a box chart that correctly displays the min/max and quartile values that I have in my data. There is an additional field in the data that I would like to use to place an symbol somewhere on the boxchart element.
For example, if the min and max are 1 and 10, and the 1st and 3rd quartiles are 2 and 6, I correctly get a boxchart element with a line going vertically from 1 to 10 and having a box going from 2 to 6. I have an additional value that goes along with this data (in this case let's say that value is 8) that I would like to mark along this box element. In other words, I want to place a symbol on the box element vertically at Y-axis value of 8.
Is there a way to accomplish this without creating a composite chart?
I created a composite chart that contains a BoxChart and a Scatter Chart. The X-axis shows the string values for each boxchart element and the Y-axis shows the numeric values. I added a ScatterChart Layer that uses a numeric X2-axis that ranges from 0 to Max Number of BoxChart elements, but uses the same Y-Axis. When I do this my symbol is placed in the correct location along the Y-axis, but it does not line up on top of the boxchart element. It is always off to the side. How can I make these line up with each other given the X and X2 axes are different types.
you could do it without a composite chart, by handling the FillSceneGraph event and adding your own graphics to e.SceneGraph.
if you want to keep the composite chart and sync the X and X2 axes, try setting RangeType to Custom on the X2 axis, and set RangeMin = 0 and RangeMax = countOfDataPoints. that should make the X values line up for the scatter & box chart layers.
Is there a good example out there for using FillSceneGraph with a BoxChart?
Never mind. I found an example and I am able to do what I need through the FillSceneGraph.