User (Legacy) Posted October 27, 2006 Report Share Posted October 27, 2006 Hi I have a set of boxplots but I'd like to be able put on "overlay" on them showing a number of individual values on top of the boxplot The image attached gives an example of what I mean (this shows a set of a single overlay value for each boxplot, ideally I would like to show a number of them). I'd like also to be able to legend the overlay series. At the moment, all I can do is show a single boxplot but place constant lines over it for each overlay point. This obviously only works for one boxplot, any more and the constant lines for one boxplot will run over the other ones. I hope this is clear Thanks David Link to comment Share on other sites More sharing options...
Software FX Posted October 28, 2006 Report Share Posted October 28, 2006 Is this a chart generated with Chart FX ? Are you using the Statistical Extension ? -- Francisco Padron www.chartfx.com "David Muldowney" <dja_muldowney@yahoo.com> wrote in message news:dSEUBhc%23GHA.644@webserver3.softwarefx.com... > Hi > I have a set of boxplots but I'd like to be able put on "overlay" on them > showing a number of individual values on top of the boxplot > > The image attached gives an example of what I mean (this shows a set of a > single overlay value for each boxplot, ideally I would like to show a > number of them). I'd like also to be able to legend the overlay series. > > At the moment, all I can do is show a single boxplot but place constant > lines over it for each overlay point. > This obviously only works for one boxplot, any more and the constant lines > for one boxplot will run over the other ones. > I hope this is clear > Thanks > David > > BoxPlot Query.bmp Link to comment Share on other sites More sharing options...
User (Legacy) Posted November 7, 2006 Author Report Share Posted November 7, 2006 No it was not generated using ChartFX. But I am trying to use the Statistics Extension to something like this "Software FX Support" <noreply@softwarefx.com> wrote in message news:OI7%23Phq%23GHA.1620@webserver3.softwarefx.com... > Is this a chart generated with Chart FX ? Are you using the Statistical > Extension ? > > -- > Francisco Padron > www.chartfx.com > > > "David Muldowney" <dja_muldowney@yahoo.com> wrote in message > news:dSEUBhc%23GHA.644@webserver3.softwarefx.com... >> Hi >> I have a set of boxplots but I'd like to be able put on "overlay" on them >> showing a number of individual values on top of the boxplot >> >> The image attached gives an example of what I mean (this shows a set of a >> single overlay value for each boxplot, ideally I would like to show a >> number of them). I'd like also to be able to legend the overlay series. >> >> At the moment, all I can do is show a single boxplot but place constant >> lines over it for each overlay point. >> This obviously only works for one boxplot, any more and the constant >> lines for one boxplot will run over the other ones. >> I hope this is clear >> Thanks >> David >> >> > > Link to comment Share on other sites More sharing options...
Software FX Posted November 10, 2006 Report Share Posted November 10, 2006 We do not support additional lines in the Statistical Extensions Box Plot because unlike a line chart, the data in the Box Plot is calculated from sample data, not plotted directly. You can achieve a chart similar to the one in the screenshot by using a simple bar chart in combination with a line chart. You will, however, need to calculate the box-plot values yourself and supply each bar segment with a starting (YFrom) and end (Y) value. For example: chart1.Gallery = Gallery.Bar; ((ChartFX.WinForms.Galleries.Bar) chart1.GalleryAttributes).Overlap = true; chart1.Data.Series = 5; chart1.Data.Points = 3; chart1.Series[0].Gallery = Gallery.Lines; // First Bar chart1.Data.Y[0,0] = 20; // Line chart1.Data.YFrom[1,0] = 10; chart1.Data.Y[1,0] = 20; chart1.Data.YFrom[2,0] = 20; chart1.Data.Y[2,0] = 45; chart1.Data.YFrom[3,0] = 45; chart1.Data.Y[3,0] = 55; chart1.Data.YFrom[4,0] = 55; chart1.Data.Y[4,0] = 70; // Second Bar chart1.Data.Y[0,1] = 80; // Line chart1.Data.YFrom[1,1] = 10; chart1.Data.Y[1,1] = 20; chart1.Data.YFrom[2,1] = 20; chart1.Data.Y[2,1] = 45; chart1.Data.YFrom[3,1] = 45; chart1.Data.Y[3,1] = 55; chart1.Data.YFrom[4,1] = 55; chart1.Data.Y[4,1] = 70; // Third Bar chart1.Data.Y[0,2] = 50; // Line chart1.Data.YFrom[1,2] = 10; chart1.Data.Y[1,2] = 20; chart1.Data.YFrom[2,2] = 20; chart1.Data.Y[2,2] = 45; chart1.Data.YFrom[3,2] = 45; chart1.Data.Y[3,2] = 55; chart1.Data.YFrom[4,2] = 55; chart1.Data.Y[4,2] = 70; * This sample code is intentionally verbose in order to show how each value is interpreted, normally setting the data will be done either using DataBinding or a for loop. You can paste this code in the Form_Load of a default form with a chart to see the results. -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
David Muldowney Posted June 19, 2007 Report Share Posted June 19, 2007 Hi Many thanks for this I've tried doing it a few times since I last posted but no luck. I tried pasting into a C# project (I'm a VB coder) but it rejected it - didn't recognise Chart.Data I didn't recognise much of the code myself. Would it be possible to translate a few of the key lines into VB? I'm thinking of the GalleryAttributes Overlap line as well as a few of the Data YFrom lines. Hopefully this will give me enough clues to get it going in VB Thanks again David Link to comment Share on other sites More sharing options...
Frank Posted June 23, 2007 Report Share Posted June 23, 2007 Which version of chart FX are you using. This post comes from way back. Link to comment Share on other sites More sharing options...
David Muldowney Posted June 24, 2007 Report Share Posted June 24, 2007 Hi Winforms 6.2 David Link to comment Share on other sites More sharing options...
David Muldowney Posted July 6, 2007 Report Share Posted July 6, 2007 Hi I was wondering whether you've had a chance to check this out. Although I posted it some time ago,it's become a bit urgent now Thanks David Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.