Page 1 of 1

Converting Simple Line chart to Box Plot chart

Posted: Wed Apr 08, 2009 3:48 pm
by 9531983
Hi,

We have a customer with a simple line chart that has one data point per hour for a whole day. Is it possible to convert this simple line chart to a BoxPlot chart?

Let me know.

Regards,

Ravi

Posted: Thu Apr 09, 2009 7:24 am
by yeray
Hi Ravi,

Yes, you should use the method ChangeSeriesType. For example, if your line series is the first series in your chart (index 0):

Code: Select all

TChart1.ChangeSeriesType 0, scBox

Converting Simple Line chart to Box Plot chart

Posted: Wed Apr 15, 2009 2:11 pm
by 9531983
Hi

Thanks for the reply.

I am sending the attachments to support@steema.com for you to review and respond.
My Colleague tried out your suggestion and he has few more questions as below:
--------------------------
We are already changing the type of chart using this method. However, we are getting strange results. Let me take you through the process via screenshots.



1. Run a report using a Line chart. (Steema - Pic1.JPG, LineChart.tee)

2. Modify the chart changing it to a BoxPlot chart. (Steema - Pic2.JPG)

3. Results show the error. (Steema - Pic3.JPG, BoxPlotChart - Single DataPoints.tee)



Also, when we select multiple data points per hour we get the following error:



4. Results for multiple data points. (Steema – Pic4.JPG, BoxPlotChart - Multiple DataPoints.tee)



The results show instead of having each hour for the day range selected displayed, they are all combined into one and the date in the bottom axis is bad as well.



Does this seem valid that you can change a Line chart to a BoxPlot chart?

Posted: Wed Apr 15, 2009 2:36 pm
by yeray
Hi Ravi,

I'm afraid that we don't offer support by mail, so the mails sent to support@steema.com are rejected and auto-replied. If you would like to enjoy having this kind of support by mail, please, take a look at ProSupport subscriptions.

On the other hand, you always can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Posted: Wed Apr 15, 2009 2:50 pm
by 9531983
Hi Yeray,

We are paying for additional support for this and have already purchased the Prosupport subscription. Should I then email it to pro-support e-mail addres. Let me know.

Regards,
Ravi

Posted: Wed Apr 15, 2009 2:58 pm
by narcis
Hi Ravi,

Notice that I have edited your last reply as you published the pro-support e-mail address which must only be public to Pro-Support subscribers and those are the only ones entitled to use it.

Having said that, you are free to post your files at the locations Yeray mentioned and continue the discussion here or use a Pro-Support ticket for that.

Thanks in advance.

Posted: Wed Apr 15, 2009 3:02 pm
by 9531983
Hi Narcis,

Thanks for your reply. I have emailed it to the prosupport email address.

Regards,

Ravi

Posted: Thu Apr 16, 2009 10:33 am
by yeray
Hi Ravi,

We have seen the tee files and the pictures you sent and we think that teechart seems to be creating the correct Box. Please, take a look at the following threads where there is explained how we think that boxes should work:

http://www.teechart.net/support/viewtopic.php?t=2599
http://www.teechart.net/support/viewtopic.php?t=5645

Note that a Box series consists of a unique box where all the series' data is represented. If you want more than one box, you need more than one box series, but I think that boxes will lose their meaning if you populate each box with a unique point.

On the other hand, the box series can't decide which of the X labels is the properly to be displayed because all you "sources" line X values are now in the same X position. So maybe you would be interested in using custom labels.

Finally, we are not sure to understand what do you mean with "select multiple data points per hour". It would be helpful if you could send us a simple example project we can run "as-is" or a code snipped that would help us to understand what are you trying to achieve.

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.