Incident Details
Assigned to Employee: Manuel Millan
  Incident ID:
Title: Fw: Concerns on the new chartFxVs2005
Creator:  Raymond C. Dazo  (raymond.d@interprisesolutions.com) Created: 11/18/2005 # of Updates: 10 Current Status: Completed
Latest Reply
History
Attachments


Reply# 10 by: Manuel Millan (Software FX) Date: 1/19/2006 11:05:14 AMEST
Dear Raymond C. Dazo:

Ok, now there is some discussion about how we will proceed with this bug. I am reopening this bug issue and will let you know as soon as some consensus is reached.

Regards,
Manuel Millan


Reply# 9 by: Manuel Millan (Software FX) Date: 1/19/2006 10:50:13 AMEST
Dear Raymond C. Dazo:

I would like to apologize for the delay in responding to you with an update on your bug, but it has been resolved. The properties in question have been removed from the documentation and the documentation is now consistent with the software.

Regards,
Manuel Millan


Reply# 8 by: Raymond C. Dazo Date: 11/28/2005 10:47:30 PMEST
Hi Manuel,
 
Hope you enjoyed your holiday weekend.
 
I really appreciate all your help. So I just have to wait for the next release. Until then...
 
Thank you,
 
Raymond C. Dazo
Interprise Solutions Team


Reply# 7 by: Manuel Millan (Software FX) Date: 11/28/2005 10:57:41 AMEST
Dear Raymond C. Dazo:

As far as the HighlightItem method, I have confirmed this to be a bug, I have submitted it to our development team for analysis and feedback. I will automatically be notified when development updates the bug report; I will then relay this information back to you by replying to this incident.

Note bug resolutions usually take anywhere from 1 to 4 weeks depending on the severity of the bug. Once a bug is fixed, it is made available as part of the next service pack. In rare situations where you cannot wait for the service pack release, we offer hotfixes which are available from our nightly builds. We HIGHLY recommend you wait until the next service pack is available for applying the fix as service packs go through numbers tests which hotfixes do not go through.

I will also submit the begin and end update as a feature request.

Regards,
Manuel Millan


Reply# 6 by: Raymond C. Dazo Date: 11/23/2005 9:10:58 PMEST
Hi Manuel,
 
Thanks again fot the quick response.
 
Well I assumed that the Chart.Series.Clear and Chart.Points.Clear will also clear the data from the chart. My mistake.
Anyway.
 
For the Chart.Highlight.HiglightItem method,  I'll be telling you for the third time that this method is not included in your chart DLLs. Yes you can find it from the resource center, but it's only a documentation. I have all the requied references in my project:
 
ChartFx.Winforms
ChartFx.Winforms.Adornments
ChartFx.Winforms.Annotation
ChartFx.Winforms.Base
ChartFx.Winforms.Data
 
But there's really no HighlightItem method. Even the HighlightEventArgs constructors in the DLLs is different from the resouce center. Please see the attached file. HighlightEventArgs only accept  none or one argument.
 
For the BeginUpdate and EndUpdate method, we really need them in our code if we'll use a lot of painting methods. I hope you'll include them in release. Will you?
 
Smart Tag- I'm afraid this won't really help but I will try this.
 
I see that your the same person who ansered my other email, but for the sake of documentation I'll wont' reply in here.
 
Thank you,
 
Raymond C. Dazo
Interprise Solutions Team
Attached File
  NoHiglightItemMethod.zip (0 bytes)


Reply# 5 by: Manuel Millan (Software FX) Date: 11/23/2005 10:15:46 AMEST
Dear Raymond C. Dazo:

The answers to your questions follow:

- chart1.Data.Clear() is the new form of the method, but to get rid of pointattributes, simply use chart1.Points.Clear();

- Below you will see how to use the Highlight method in the new Chart FX.


- BeginUpdate - I don't know of any method that can do what you describe.

- The SmartTag is VS2005's new designtime feature that allows you to set properties, bind data etc. Simply click the small arrow in the upper right hand part of the chart. From here you can bind the chart to the SQL datasource just as I did for the Access. I didn't lose the data binding because I used our .NET toolbar to change the gallery. When you bind using the smarttag you will be able to specify how our charting component deals with your columns, etc. See below:



Let me know if I can help you with anything else.

Regards,
Manuel Millan
Attached Files
  screenshot #1.jpeg (0 bytes)   screenshot #2.jpeg (0 bytes)


Reply# 4 by: Raymond C. Dazo Date: 11/22/2005 11:02:08 PMEST
Hi Manuel,
 
Thank you for the quick help. I really appreciate it. I just recevied your email two days ago. Our incoming and outgoing email is not working for the past days so I thought I resend my concern more than once just in case. My apology.
 
I have been scanning the Resource Center and I can't really find the equivalent of these old functions. Or maybe I still missed it:
 
>>OpenData and CloseData - Which option are you talking about with SeriesAttributes and PointAttributes...
>>do you have a particular method or property you would like me to translate to the new version? 
ChartData.ClearData(SoftwareFX.ChartFX.ClearDataFlag.PerPointAttributes)
ChartData.ClearData(SoftwareFX.ChartFX.ClearDataFlag.PerSeriesAttributes)
 
>>HighlightAttribute.HighlightItem - The new version is chart1.Highlight.HighlightItem(this, myHighlightEventArgs);
 
There is really no Highlight Method in the new ChartFX.WinForms.HighlightAttributes or maybe because it's not available in the trial version. I could find it from resource center but not in the DLL itself.
 
Also do you have equivalent methods for BeginUpdate and EndUpdate methods so you could forcibly suspend the control's repainting without using the PrePaint and PostPaint events?
 
>>I'm sorry, but I can't replicate this behavior. I bind the chart to an Access Database with a table just like yours and I have no problem changing
>>the chart to all of the galleries. The data is always bound correctly. I used the smarttag to configure the databinding to the database, by the
>>way. I am also using the toolbar and properties to change the gallery, are you creating your own way to do this?
 
About my last concern regarding binding of the cylinder chart.
I am using Sql Server and I don't think SmartTag will help(is this the SmartTag Class for Excel?). Yes I have my own toolbar and popup menu to change the gallery type but I think they're none factor. How did you change your chart to cylinder without loosing databinding? Is your chart the same as the attached file(see CylinderChart image)? If so, I think I forgot to point out something.
 
Remember my table:

Label             Value
Completed         3
In Progress        8
Not Started       2
 
Let me explain more. This table is a 1 series with 3 points analysis when binded to the chart. In the OneSeriesChart image (included in the compressed attached file), I have 3 charts: bar, pie and "cylinder". All of them uses the table above. All of them EXCEPT the cylinder use databinding. So I need to change the table logically (through runtime code):
 
Completed            In Progress            Not Started
3                            8                             2
 
This logical table is a 3 series with 1 point analysis, opposite of the above. I need to do this to produce the cylinder chart then use loop to assign values individually.
 
Now, consider this cylinder (from OneSeriesChart image) as #1 and the cylinder from CylinderChart image as #2. In my program, If end-user change the gallery type from bar (or pie) to cylinder and I do NOT set Chart.Datasource = Nothing and use the first table, the resulting chart is #2. A cylinder chart with 1 series with 3 points technically. #2 actually doesn't look like a cylinder chart, it's more of a gantt chart to the end-user. If I set the datasource to nothing and use the second table, the resulting chart is #1. A chart that has 3 series with 1 point technically.
 
My point is... the bar and pie charts both present a 1 series with 3 points chart to the end user. #1 ALSO does presents a 1 series with 3 points chart to the end user (although technically, in my code, it's a 3 series with 1 point chart). While #2 is technically a 1 series with 3 points chart BUT to the end user it's a 3 series with 1 point. So #2 is like having 3 cylinders!!! 
 
I hope you get my point.
 
I really need help with this. Hoping again for your quick reply.
 
Thank you,
 
Raymond Dazo
Interprise Solutions Team
Attached File
  OneSeriesCharts.zip (0 bytes)


Reply# 3 by: Manuel Millan (Software FX) Date: 11/21/2005 8:59:04 AMEST
Dear Raymond C. Dazo:

The answers to your questions follow:

1. Gaps - This is replaced by:

chart1.PlotAreaMargin.Bottom = 10;
chart1.PlotAreaMargin.Left = 10;
chart1.PlotAreaMargin.Top = 10;
chart1.PlotAreaMargin.Right = 10;
Below you will see a screenshot of the information:



2. SerLegBox - The new LegendBox can show legends from Series, Keylabels, Confitional Attributes, Cusomte Gridlines, etc. all at the same time.

Screeshot about this with a small example below:

3. OpenData and CloseData - Which option are you talking about with SeriesAttributes and PointAttributes...do you have a particular method or property you would like me to translate to the new version?

4. HighlightAttribute.HighlightItem - The new version is chart1.Highlight.HighlightItem(this, myHighlightEventArgs);

A screenshot is below:


5. I'm sorry, but I can't replicate this behavior. I bind the chart to an Access Database with a table just like yours and I have no problem changing the chart to all of the galleries. The data is always bound correctly. I used the smarttag to configure the databinding to the database, by the way. I am also using the toolbar and properties to change the gallery, are you creating your own way to do this?




Regards,
Manuel Millan
Attached Files
  screenshot #1.jpeg (0 bytes)   screenshot #2.jpeg (0 bytes)   screenshot #3.jpeg (0 bytes)


Reply# 2 by: Raymond C. Dazo Date: 11/18/2005 9:13:44 PMEST
Hi,

I've been using your new chartFx vs2005 for the past few days and so far I
found it better than the previous version because most methods and
properties are simplified to collections. And also this new chart has
smoother surface. This new chart loads at 14-15 secs on my computer running
at 2ghz cpu speed (64 bit), 1gb of RAM, and 64 bit Mobo, which is by far the
slowest third party control(not created by MS) I've used along with other
third party controls. Others (which also supports .Net 2.0) take only 3 secs
or less and these control loads in package.

I first tested the new wrapper DLL which should recognize old functions from
previous version but  hardly recognize the DataType property and some (I
will not elaborate more). I am now focusing on the new version. There are
some obsolete functions which I'm still having difficulties finding them on
the new version and so I need some help.

What's the equivalent for these old functions:
Gap property - I noticed you have the DisplayRectangle property, are they
the same?
SerLegBox - I think the old serlegbox and legendbox are combine into one
property - LegendBox. But what if I want to display both legend box for the
series and points?
OpenData, ClearData - You have this new Data property where you could access
data from the chart. There's also the Chart.Data.Clear method which clears
all the data in the chart. Now what happen to the option where you could
clear or reset the settings you applied to all seriesAttribute and
pointAttribute?

Where's the HighlightAttribute.HighlightItem method?

I am the person who requested to have a seperate "Cylinder Gallery". I have
this situation on my program. I want my charts to be dataBind to its
Datasource so I won't need to loop a number of times to assign each data to
my chart (I am trying to avoid using Chart.Data to assign values). Below is
my sample table:

Label             Value
Completed         3
In Progress        8
Not Started       2

I have a feature in my program where in end-users could select different
gallery types (i.e. pie, bar, line, cylinder, pyramid).
Now when my chart is in "bar type gallery" (see BarChart image) the "Label"
Column represents the Axis X and the "Value" column represents first series
and the rows represents the points (i.e. row(0)("Value")). I think this is
automatic when the chart is databind. Well my charts are databind in all
gallery types I metion above except when the end-user selected the cylinder
type. This is because I have to change the table structure logically and
assign them manually one by one (loop) through Chart.Data(series, points).

Completed            In Progress            Not Started
3                            8                             2

So as to have 3 series and 1 point then set Data.AllSeries.Stacked = Normal
to produce a cylinder chart (see CylinderChart image). Now the pain is I
loose databinding and performance, since I think databinding is faster than
looping (what if I have a hundred of records?). I could still databind my
chart when in cylinder type if I changed the table physically through code,
which is not practical. Is there a better way to do this? Also when I switch
from cylinder type (since I set some properties to produce a cylinder chart)
to a pie, the display will flicker and worst is when I change it to pyramid
and the drawing area is small, the chart is not properly drawn (See the
third image, FromCylinderToPyramid). Do you have equivalent methods for
BeginUpdate and EndUpdate, or does Data.Refresh does it all?

I hope you could help me with these concerns. I appreciate any help. Hoping
for your quick reply.

Thank you,

Raymond Dazo








Reply# 1 by: Raymond C. Dazo Date: 11/18/2005 9:13:34 PMEST
Hi,

I've been using your new chartFx vs2005 for the past few days and so far I
found it better than the previous version because most methods and
properties are simplified to collections. And also this new chart has
smoother surface. This new chart loads at 14-15 secs on my computer running
at 2ghz cpu speed (64 bit), 1gb of RAM, and 64 bit Mobo, which is by far the
slowest third party control(not created by MS) I've used along with other
third party controls. Others (which also supports .Net 2.0) take only 3 secs
or less and these control loads in package.

I first tested the new wrapper DLL which should recognize old functions from
previous version but  hardly recognize the DataType property and some (I
will not elaborate more). I am now focusing on the new version. There are
some obsolete functions which I'm still having difficulties finding them on
the new version and so I need some help.

What's the equivalent for these old functions:
Gap property - I noticed you have the DisplayRectangle property, are they
the same?
SerLegBox - I think the old serlegbox and legendbox are combine into one
property - LegendBox. But what if I want to display both legend box for the
series and points?
OpenData, ClearData - You have this new Data property where you could access
data from the chart. There's also the Chart.Data.Clear method which clears
all the data in the chart. Now what happen to the option where you could
clear or reset the settings you applied to all seriesAttribute and
pointAttribute?

Where's the HighlightAttribute.HighlightItem method?

I am the person who requested to have a seperate "Cylinder Gallery". I have
this situation on my program. I want my charts to be dataBind to its
Datasource so I won't need to loop a number of times to assign each data to
my chart (I am trying to avoid using Chart.Data to assign values). Below is
my sample table:

Label             Value
Completed         3
In Progress        8
Not Started       2

I have a feature in my program where in end-users could select different
gallery types (i.e. pie, bar, line, cylinder, pyramid).
Now when my chart is in "bar type gallery" (see BarChart image) the "Label"
Column represents the Axis X and the "Value" column represents first series
and the rows represents the points (i.e. row(0)("Value")). I think this is
automatic when the chart is databind. Well my charts are databind in all
gallery types I metion above except when the end-user selected the cylinder
type. This is because I have to change the table structure logically and
assign them manually one by one (loop) through Chart.Data(series, points).

Completed            In Progress            Not Started
3                            8                             2

So as to have 3 series and 1 point then set Data.AllSeries.Stacked = Normal
to produce a cylinder chart (see CylinderChart image). Now the pain is I
loose databinding and performance, since I think databinding is faster than
looping (what if I have a hundred of records?). I could still databind my
chart when in cylinder type if I changed the table physically through code,
which is not practical. Is there a better way to do this? Also when I switch
from cylinder type (since I set some properties to produce a cylinder chart)
to a pie, the display will flicker and worst is when I change it to pyramid
and the drawing area is small, the chart is not properly drawn (See the
third image, FromCylinderToPyramid). Do you have equivalent methods for
BeginUpdate and EndUpdate, or does Data.Refresh does it all?

I hope you could help me with these concerns. I appreciate any help. Hoping
for your quick reply.

Thank you,

Raymond Dazo






Attached File
  ChartImages.zip (0 bytes)


Copyright © 2009 Software FX, Inc. All Rights Reserved.