User (Legacy) Posted April 9, 2003 Report Share Posted April 9, 2003 Hi I have the following code asp code. This code is generating a stacked bar as shown in the attachment. Please note that the bar in blue is not plotted as required between -13.66 to -2.00. The image of the bar is attached Thanks in Advance. Mallik ======================================================================== univ_graph.OpenDataEX COD_VALUES,6,6 univ_graph.OpenDataEX COD_INIVALUES,6,6 univ_graph.Stacked = CHART_STACKED univ_graph.Series(5).MarkerShape = 4 univ_graph.Series(0).Gallery = BAR ' univ_graph.Series(0).Stacked = True univ_graph.Series(1).Gallery = BAR univ_graph.Series(1).Stacked = True univ_graph.Series(2).Gallery = BAR univ_graph.Series(2).Stacked = True univ_graph.Series(3).Gallery = BAR univ_graph.Series(3).Stacked =true univ_graph.Axis(AXIS_X).Label(0) = "YTD" univ_graph.IniValueEx(0,0) =-34.101001739502 univ_graph.ValueEx(0,0) =-25.3159999847412 univ_graph.IniValueEx(1,0) =-25.3159999847412 univ_graph.ValueEx(1,0) =5.25900077819824 univ_graph.IniValueEx(2,0) =-20.056999206543 univ_graph.ValueEx(2,0) =6.39099884033203 univ_graph.IniValueEx(3,0) =-13.6660003662109 univ_graph.ValueEx(3,0) =11.6650009155273 univ_graph.IniValueEx(0,0) =-34.101001739502 univ_graph.ValueEX(0, 0) =-25.3159999847412 univ_graph.IniValueEx(1,0) =-25.3159999847412 univ_graph.ValueEX(1, 0)=5.25900077819824 univ_graph.IniValueEx(2,0)=-20.056999206543 univ_graph.ValueEX(2, 0)=6.39099884033203 univ_graph.IniValueEx(3,0) =-13.6660003662109 univ_graph.ValueEX(3, 0) = 11.6650009155273 univ_graph.IniValueEx(4, 0) = 12.29 univ_graph.ValueEX(4, 0) = 12.29 univ_graph.IniValueEx(5, 0) = -22.1 univ_graph.ValueEX(5, 0) = -22.1 univ_graph.Axis(AXIS_Y).Max = 98 univ_graph.Axis(AXIS_Y).Min = =-34.101001739502 univ_graph.RecalcScale univ_graph.CloseData COD_VALUES univ_graph.CloseData COD_INIVALUES ================================================================ Link to comment Share on other sites More sharing options...
Software FX Posted April 10, 2003 Report Share Posted April 10, 2003 I'm afraid this is not supported, Stacked charts will accumulate negative values separate from positive values, all negative values accumulate and go "down" while all positive values accumulate and go "up" the IniValues are not considered for this calculation, the IniValues will be used after the ending point of the bar is calculated to determine the starting point of the bar. What you want to do can only be achieved by a non-stacked chart, however, clustering will be needed to make the bars appear to be in the same plane, however, this can only be done in a 2D chart, a 3D chart will reveal the clustering of the bars. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.