Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
90
several questions on custom multi axis chart
posted

Hi there,

I have a few questions regarding a custom chart we are testing. It is actually a recreation of a legacy graph and we need to prove that we can replicate it in Ignite.

Here is the original chart:

http://imgur.com/2wDjVMY

Here is the Ignite version (different data set):

http://imgur.com/DTgQl7m

Right now, I have 3 scatter type series that each connect to a separate data source. The two lines are type "scatterLine" with markers set to "none". The other series is a custom "scatter" type with a marker template to edit the rendering of the size for each point. I chose to make everything scatter as for this last series, I need to be able to plot data that share the same date on the same X axis location (the X axis values are actually ticks and I am converting to date strings with a formatLabel).

Here are my questions:

1) How can I move the second Y-axis and its labels to the right side of the chart? I can't seem to find a clear way to do this in your documentation and forums.

2) I need to fill the entire area between the purple series line and 0 (if it is above 0, as it is here, it will fill below the line, and if it, or part it, is below 0, it will be above the line). For your reference, this corresponds to the blue color filled series in the image of the original example. I tried changing the series type to splineArea, but the chart fails to render after doing so. Can you suggest the best way to approach this?

3) Regarding the same purple series, if I have data that is below or crosses 0, I would like the X axis to represent 0 and the Y axis to extend below it. Currently, the graph will automatically adjust so that the lowest value lies on the X axis. I tried playing around with the crossingAxis and crossingValue properties but this did not seem to work. I would like the chart to reflect on both sides of the X axis in case there are any Y values below 0, as in the original chart sample above.  For your reference, I added a data point to move the series below 0 so that you can see what it is doing now. Image here: http://imgur.com/BrAsga5

Thank you in advance for your assistance.