Hello,
I am trying to create series array variable, while declaring and initializing variable, it raises an exception as class not supported.
Series series_passbook_types[] = new Series[10];
How will I declare and create array of type Series?
Thanks and Best,
Veeranna Ronad.
Creating series array
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Creating series array
Hi Veeranna,
Code below works fine for me here. Can you please check if it works fine at your end?
Thanks in advance.
Code below works fine for me here. Can you please check if it works fine at your end?
Code: Select all
Line series_passbook_types[] = new Line[10];
for (int i=0; i<series_passbook_types.length; i++)
{
series_passbook_types[i] = new Line(tChart1.getChart());
tChart1.getSeries(i).fillSampleValues();
}
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 |