Problem with Series Collection Editor
Problem with Series Collection Editor
The Add button does not work in a Series Collection Editor. Is this a bug?
Thanks.
Thanks.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Jeff,
What do you exactly mean with a "Series Collection Editor"? Which TeeChart version are you using?
Thanks in advance.
What do you exactly mean with a "Series Collection Editor"? Which TeeChart version are you using?
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
I am using TeeChart.NET v2. When you click on the little graphic icon in front of a series in a ChartListBox, TeeChart pops up a "Series Collection Editor". The Add button has no effect when you click on it.
Thanks.
Jeff
Thanks.
Jeff
narcis wrote:Hi Jeff,
What do you exactly mean with a "Series Collection Editor"? Which TeeChart version are you using?
Thanks in advance.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Jeff,
There's no add button there. When you select one series an open its series gallery you can change the series style but not add series to the chart. For this you already have the series editor.
There's no add button there. When you select one series an open its series gallery you can change the series style but not add series to the chart. For this you already have the series editor.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
My "Series Collection Editor" Form does have two buttons "Add" and "Remove". If you click the "Remove" button, the series is removed. But if you click the "Add" button, nothing happens. I understand that there are ways to add a series to a Chart, my point is that if the "Add" button has no use there, it should be removed from the Form.
Jeff
Jeff
Hello Jeff,
Normally when one dblclicks on the icon of a Series in the ChartListbox it opens the Gallery as below:
Please could you confirm if that is what you see and if not please could you send us a code sample of how to call the Editor you describe (or upload a demo project via the upload page: http://www.steema.net/upload/).
With thanks.
Regards,
Marc Meumann
Normally when one dblclicks on the icon of a Series in the ChartListbox it opens the Gallery as below:
Please could you confirm if that is what you see and if not please could you send us a code sample of how to call the Editor you describe (or upload a demo project via the upload page: http://www.steema.net/upload/).
With thanks.
Regards,
Marc Meumann
Steema Support
Sorry, my mistake. The "Series Collection Editor" does not pop up when you click on the image in front of a series in a ChartListBox.
In my program, I use a System.Windows.Forms.PropertyGrid to show the properties of a TChart. If the user clicks on the Series property of the TChart, the PropertyGrid invokes the "Series Collection Editor". On this "Series Collection Editor", you will see the "Add" and "Remove" buttons that I mentioned in my previous email.
Thank you.
In my program, I use a System.Windows.Forms.PropertyGrid to show the properties of a TChart. If the user clicks on the Series property of the TChart, the PropertyGrid invokes the "Series Collection Editor". On this "Series Collection Editor", you will see the "Add" and "Remove" buttons that I mentioned in my previous email.
Thank you.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Jeff,
Thanks for the information. We are aware of some inconsistency using PropertyGrid but seems to work fine using latest TeeChart for .NET v2 maintenance release available at the client area. Which TeeChart version are you using?
Please notice that for series to be visible in the chart you need to populate them. So after having added a series you should go to its datasource property and assign a datasource or, at least, some random values.
Thanks for the information. We are aware of some inconsistency using PropertyGrid but seems to work fine using latest TeeChart for .NET v2 maintenance release available at the client area. Which TeeChart version are you using?
Please notice that for series to be visible in the chart you need to populate them. So after having added a series you should go to its datasource property and assign a datasource or, at least, some random values.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Thanks. I will download the latest release and try again.
BTW, speaking about the Datasource properties of a series, I found it is a bit confusing. In tutorial 6 under the section "Choosing a Series Type", there is a table showing the Datasource properties for each series. It seems to me that the table is not accurate. For example, for a Pie series, there is "Angle" property shown in the table but it actually does not exist in the Pie class. There are three ValueList properties for the Pie class: XValues, YValues, and PieValues. In the online help, however, I can't find enough information on which ValueList property I should use for a Pie series (judging by the names, PieValues seems to be the right one). It seems to me that the PieValues is linked to (or reference to) the YValues. Could you clarify on this a little? Also, there is a ValueLists property that contains three members: X, Y, and Pie. Are these three members just the references to the XValues, YValues, and PieValues?
Is there a more accurate and complete manual?
Thanks.
Jeff
BTW, speaking about the Datasource properties of a series, I found it is a bit confusing. In tutorial 6 under the section "Choosing a Series Type", there is a table showing the Datasource properties for each series. It seems to me that the table is not accurate. For example, for a Pie series, there is "Angle" property shown in the table but it actually does not exist in the Pie class. There are three ValueList properties for the Pie class: XValues, YValues, and PieValues. In the online help, however, I can't find enough information on which ValueList property I should use for a Pie series (judging by the names, PieValues seems to be the right one). It seems to me that the PieValues is linked to (or reference to) the YValues. Could you clarify on this a little? Also, there is a ValueLists property that contains three members: X, Y, and Pie. Are these three members just the references to the XValues, YValues, and PieValues?
Is there a more accurate and complete manual?
Thanks.
Jeff
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Jeff,
Actually, Angle values list doesn't exist but Angles array does. This array is populated internally.
XValues and YValues are base series class ValueLists and then they are mapped with some specific series ValueLists as for example, PieValues with YValues.
For some additional information I'd recommend you to consult the help file provided with TeeChart for .NET v2.
Actually, Angle values list doesn't exist but Angles array does. This array is populated internally.
XValues and YValues are base series class ValueLists and then they are mapped with some specific series ValueLists as for example, PieValues with YValues.
Sorry but I don't know which ValueLists do you mean, could you please give us some more information about that?Also, there is a ValueLists property that contains three members: X, Y, and Pie. Are these three members just the references to the XValues, YValues, and PieValues?
For some additional information I'd recommend you to consult the help file provided with TeeChart for .NET v2.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Hello Jeff,
Thankyou for your comments about the Tutorial file. The entry should be written as:
The data members for Pie are:
- Angle
- Pie
- Labels
The table in the documentation will be updated to reflect the correct names.
The data members names may be seen when using the Chart Editor and going to the Series:Datasource tab for the selected Series and selecting 'Datasource' as the data type.
When using the Visual Studio properties Window you can see the names 'Angle' and 'Pie' as datamember name but they are not property names, rather labels of the datamembers. I recommend using the Chart Editor as it compartmentalises a little more intuitively the elements.
ValuesLists contains a list of the ValueLists of the Series. The Valuelist names for the Pie Series are 'Angles' and 'PieValues' (YValues).
Regards,
Marc
Thankyou for your comments about the Tutorial file. The entry should be written as:
The data members for Pie are:
- Angle
- Pie
- Labels
The table in the documentation will be updated to reflect the correct names.
The data members names may be seen when using the Chart Editor and going to the Series:Datasource tab for the selected Series and selecting 'Datasource' as the data type.
When using the Visual Studio properties Window you can see the names 'Angle' and 'Pie' as datamember name but they are not property names, rather labels of the datamembers. I recommend using the Chart Editor as it compartmentalises a little more intuitively the elements.
ValuesLists contains a list of the ValueLists of the Series. The Valuelist names for the Pie Series are 'Angles' and 'PieValues' (YValues).
Regards,
Marc
Steema Support