on 2013 Oct 01 1:13 AM
Hello gurus,
I have read the "multiple y axis on charts in sap xmii " discussion and still can not get my chart work . I have
at the Y axis tab :
1) checked the multiple y axes checkbox and
at the Data series detail tab:
2) set the minimun and maximun range from 0 to 100
3) Checked the Show Y axis and Show Y axis label
at the data mapping I have a query with four columns :
Column 1 : Refinery ( set as a x - axis label column )
Column 2 : Gas imported ( set as the first value column )
Column 3 : Gas planned ( set as the second value column )
Column 4 : [ Column 2 / Column 3 ] * 100 ( set as porcentaje at the third value column )
What I get at the chart is only the column 2 and column2 plotted correctly with a left Y axis . But I need to get the porcentaje values plotted against a right Y axis .
Please help
Request clarification before answering.
what is your chart type, is it bar chart?
Can you paste a sample image here, how you need a chart?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I hope you getting left and right y axes?
Well in data series you need to provide 3 pen details i.e data series ID ,
Data series ID 1 should be bar, select type as bar
Data series ID 2 should be bar,select type as bar
Data series ID 3 should be line, select type as line
In chart area increase the marker size and select marker style as circle.
Thanks Padma
Yes that is what I want . At the X axis , I want the column 1 values ( NombreCentro node from my xml test file ) to be shown . Or for simplicity, just add a column to your sample data . It could be 5 cities , cars, whatever . Can you send the code or how you did it ? .
Best regards,
very good demonstration . My email is antonio.rodriguez@pemex.com . I would appreciate very much the code .
Column 4 is a bit confusing - is the formula just for reference purposes or is that actually coming back in the query results instead of a normal column name or alias?
Perhaps consider sharing a simple upload of the xml test dataset from your query. If you have multiple ValueColumns mapped into your display template then you should see each of them in the iChart legend, and the default behavior would be for the Y-Axis color and scale to change when selecting one of the items in the legend. The multiple Y-Axis is more or less just a visual display change, so assuming Columns 2, 3, and 4 are all valid numeric fields with plain text column headings, then mapping them into the chart and having them render should be as simple as you would expect.
Regards,
Jeremy
Rapid Innovation Group (RIG)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Column 4 is the result of ( column2 / column 3 ) * 100 . It is a percentaje so its range is from 0 to 100 . I am using a custom chart type . I am not using the ichart as an applet, instead I am using it as a graphic inserted in a irpt file .
Following is the query xml test dataset :
<?xml version="1.0" encoding="UTF-8" ?>
</Columns>
</Row>
</Row>
</Row>
</Row>
</Row>
</Row>
</Row>
</Row>
</Row>
</Rowset>
</Rowsets>
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.