Hi All,
The customer wants to get the image from Googlechart and encode it base64.
I think it needs 3 steps.
Step1. show Googlechart.
It's possible as there is a sample in LongRange demonstration.
Step2. get image of Googlechart
I have no idea for this.
Is there any ways to achieve this?
Step3. encode it base64
In the case of LANSA, setting the image to BOLB field makes it possible.
But the customer uses LongRange for RPG.
Is there any way to encode base64?
Best regards, Yukiko Ikeo
[RPG] get the image from Googlechart and encode it base64
-
- Posts: 6
- Joined: Wed Jul 02, 2014 4:28 pm
Re: [RPG] get the image from Googlechart and encode it base64
Hi Yukiko,
In LongRange Google Chart example, the chart is displayed in a webview, so I think you can't get and encode it directly with RPG code.
However, you can have a try with JavaScript, which can encode an image to base64.
Thanks
Jason
In LongRange Google Chart example, the chart is displayed in a webview, so I think you can't get and encode it directly with RPG code.
However, you can have a try with JavaScript, which can encode an image to base64.
Thanks
Jason
-
- Posts: 6
- Joined: Wed Jul 02, 2014 4:28 pm
Re: [RPG] get the image from Googlechart and encode it base64
Hi Jason,
Thank you for your reply.
I'll tell the customer that it's hard to achieve what he want...
Thanks
Yukiko Ikeo
Thank you for your reply.
I'll tell the customer that it's hard to achieve what he want...
Thanks
Yukiko Ikeo