|
Perl Simple Line Chart POSITIVE AND NEGATIVE VALUES |
Posted by seafree on Aug-24-2023 00:38 |
|
HI Peter, I must show Positive and Negative values in a Line Chart, will I do?
In this moment only had been show POSITIVE or NEGATIVE values. Please could you tell me if I will show positive and negative values in the same chart?
Regards
seafree |
Re: Perl Simple Line Chart POSITIVE AND NEGATIVE VALUES |
Posted by seafree on Aug-24-2023 03:55 |
|
Please Peter, will you answer my question?
In this moment I only had been show POSITIVE or NEGATIVE values BUT NOT BOHT.
Please, will you tell me if I will show positive and negative values in the same chart?.
I didn't find an example.
Regards
seafree |
Re: Perl Simple Line Chart POSITIVE AND NEGATIVE VALUES |
Posted by seafree on Aug-24-2023 03:56 |
|
Please Peter, will you answer my question?
In this moment I only had been show POSITIVE or NEGATIVE values BUT NOT BOHT.
Please, will you tell me if I will show positive and negative values in the same chart?.
I didn't find an example.
Regards
seafree |
Re: Perl Simple Line Chart POSITIVE AND NEGATIVE VALUES |
Posted by Peter Kwan on Aug-24-2023 19:06 |
|
Hi seafree,
I start with the Simple Line Chart sample code:
https://www.advsofteng.com/doc/cdperl.htm#simpleline.htm
I changed the data to include both positive and negative numbers:
my $data = [30, 28, 40, 55, -75, -68, 54, 60, 50, -62, -75, 65, 75, 91, 60, 55, 53, -35, -50, -66, 56, 48, 52, 65, 62];
I can successfully produced the attached chart. The chart looks OK to me.
If you think it does not work in your code, is possible to provide an example that I can run, so I can test it and trouble-shoot it?
Best Regards
Peter Kwan
|
Re: Perl Simple Line Chart POSITIVE AND NEGATIVE VALUES |
Posted by seafree on Aug-25-2023 00:58 |
|
THANKS A LOT PEATER, YOU'R GREAT!
REGARDS
seafree |
Re: Perl Simple Line Chart POSITIVE AND NEGATIVE VALUES |
Posted by seafree on Aug-29-2023 22:32 |
|
THANKS A LOT PEATER, YOU'R GREAT!
REGARDS
seafree |
|