User (Legacy) Posted September 23, 2004 Report Share Posted September 23, 2004 Hi, I have a ChartFX graph for which I am not able to use the data editor that comes with it since the order in which the values are appearing are not in the order I want (I am using 4 series to make up each bar in my graph with 2 series having negative values). So,I am using a table coded in HTML and ASP to achieve the purpose of the data editor. But I want this table to be copied and saved together with the ChartFX graph when users right click on the graph (just like it would be copied if it was the data editor). Is there a way I can wrap the ChartFX graph and my coded table together to do this? Thanks a lot. AA Link to comment Share on other sites More sharing options...
Software FX Posted September 23, 2004 Report Share Posted September 23, 2004 I don't think this is possible. 1) The first problem is the mixed types, the chart being an image and the "data" being HTML code. When you export to the clipboard you have to pick one format. 2) The chart doesn't know about other elements in the page, much less how to render them into the clipboard. I think you will better-off having the data displayed in the data editor, you can always re-order your data to achieve the order you want. -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted September 27, 2004 Author Report Share Posted September 27, 2004 Hi, Is there a function I could use for re-ordering the data editor? This is how I am displaying my bar graph: (With the vertical axis from +100 to -100, I want DataE and DataM in the positive axis (with DataE plotted at the topmost), and, DataB and DataA in the negative axis) y = 0 ChartFX.OpenDataEX COD_VALUES,4,5 While (y < 5) ChartFX.Series(0).YValue(y) = DataM(y)/100 ChartFX.Series(1).YValue(y) = DataE(y)/100 ChartFX.Series(2).YValue(y) = -DataB(y)/100 ChartFX.Series(3).YValue(y) = -DataA(y)/100 y = y + 1 Wend ChartFX.CloseData COD_VALUES ChartFX.Series(0).Legend = "Meets" ChartFX.Series(1).Legend = "Exceeds" ChartFX.Series(2).Legend = "Below" ChartFX.Series(3).Legend = "A. Warning" The above code is displaying the graph in the way I want it but I want the data editor order with Series(0) and Series(1) interchanged. I want "Exceeds" first, "Meets" next and the rest is already in the right order. Since I am using negative values, this is the best order I could come up with. Please let me know if the problem is not clear enough. Thanks very much. AA "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:JRGw%23jYoEHA.416@webserver3.softwarefx.com... > I don't think this is possible. > > 1) The first problem is the mixed types, the chart being an image and the > "data" being HTML code. When you export to the clipboard you have to pick > one format. > > 2) The chart doesn't know about other elements in the page, much less how to > render them into the clipboard. > > I think you will better-off having the data displayed in the data editor, > you can always re-order your data to achieve the order you want. > > -- > FP > Software FX > > Link to comment Share on other sites More sharing options...
Software FX Posted September 27, 2004 Report Share Posted September 27, 2004 Why can't you swap Series(0) and Series(1) data and all ? I don't understand all that about the negative values. Can you attach two pictures, the current one and a picture of what you get when you switch series 0 and 1 pointing out what the problem is. -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted September 28, 2004 Author Report Share Posted September 28, 2004 Thank you very much for offering to further help on this issue. I am not getting the bars display order the way I want if I swap Series(0) and Series(1). The "Original" picture is the current graph and "Swapped" is the one I got by switching Series(0) and Series(1). The problem is: The graph order of series display is correct on "Original" but the data editor order is incorrect. The data editor order is correct on "Swapped" but not the graph series display order. Should I send any other snippets of code to debug this problem? Thanks. AA "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:8RtbowMpEHA.688@webserver3.softwarefx.com... > Why can't you swap Series(0) and Series(1) data and all ? > > I don't understand all that about the negative values. Can you attach two > pictures, the current one and a picture of what you get when you switch > series 0 and 1 pointing out what the problem is. > > -- > FP > Software FX > > Link to comment Share on other sites More sharing options...
Software FX Posted September 28, 2004 Report Share Posted September 28, 2004 I think I understand now. You don't want the green series (Meets) stacked on top of the Blue series (Exceeds) but you DO want Exceeds to be first in the data editor. I'm afraid this is not possible. The first series goes first in the data editor. No way around that. Sorry. -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.