I've used both ChartJS https://www.chartjs.org/ and Google Charts https://developers.google.com/chart to make some really nice graphs, both are quite simple to use.

Tim.
[https://www.gstatic.com/devrel-devsite/v0bcab1972c3b1579b82e221c810ad3eb061cbd75c8520328bda82087ceb07528/developers/images/opengraph/google-blue.png]<https://developers.google.com/chart>
Charts | Google Developers<https://developers.google.com/chart>
Google chart tools are powerful, simple to use, and free. Try out our rich gallery of interactive charts and data tools.
developers.google.com

Chart.js | Open source HTML5 Charts for your website<https://www.chartjs.org/>
Simple, clean and engaging HTML5 based JavaScript charts. Chart.js is an easy way to include animated, interactive graphs on your website for free.
www.chartjs.org



________________________________
From: WEB400 <web400-bounces@xxxxxxxxxxxxxxxxxx> on behalf of Kelley <kelley.work@xxxxxxxxxxx>
Sent: 24 October 2019 17:19
To: web400@xxxxxxxxxxxxxxxxxx <web400@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WEB400] Looking for Advice/Suggestions

Thanks to all for your help and input. I've found some interesting
methods for producing a bar graph using HTML5, so time to dig in and try
things out.

Kelley

On 10/23/2019 2:38 PM, Booth Martin wrote:
My current favorite flow is:

* write an RPG service program that delivers the current data as a
datastructure.
* Use the IWS Wizard to deliver those data as properly formatted .json
data.
* Set up a web server in your IFS, with a landing page that displays a
graph

You already get the data, so step 1 is easy.

I found that using the IWS Wizard is easy and reliable, however I will
say it is not idiot-proof; the learning curve for me was painful and
embarrassing.

You already know HTML & css well enough to write your own landing page
on your.box, port 80. The browser graph will be the stickler but by
the time you get there you will have come across a solution you like.

So, yes, given some time to absorb it all, it should be a great way to
wet your toes.


On 10/23/2019 8:44 AM, Kelley wrote:

I'm not sure if this is the right list...

I'm looking for advice/suggestions on how to change an RPG/green
screen application to be accessible from a browser.

Last week I was at the RPG/DB2 conference in Minneapolis. A great
conference as usual. I was particularly interested in the open source
sessions and I'd like to try some of the techniques I watched being
done.

The shop I work in has been a single person shop for a couple of
years now (down from three people). All of our software was developed
in-house over a period of many years. The code is mostly RPG400 and
green screens. I write any new code using RPG Free and other newer
techniques, however the applications are pretty stable so I don't
write a lot of new code. My other responsibilities (PC's, networks,
and so on) keep me from doing any refactoring.

The program I'd like to change is an RPG Free program that uses a
green screen display to show current yield data to the manufacturing
line (it displays a bar chart using control codes for different
colors). It's displayed on a large screen TV that is visible in the
plant. It refreshes every 15 seconds.

I'd like to update this process and move the display of the data
to a
web browser so it can be visible to those without an IBM i client.
This is not an area I have much experience in. The closest I've come
is using CGIDEV to create a web page that displays sales data.

My question is, where to start? I've spent some time on the web
looking at various ways to do this, I think there are about a million.
What's the best way to ease into this?

To help narrow options down a bit, I know RPG, C and SQL. I've done
some simple HTML and CSS. I'm familiar with linux. I built a simple
inventory app a few years ago using a LAMP stack and PHP. I'm
currently learning Python.

Any and all suggestions are welcome.

Thanks, Kelley.

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fweb400&amp;data=02%7C01%7C%7Cd2184857ee3e439029a208d7589591b1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637075271718677772&amp;sdata=wnIIkcaHeWgLA7fFYuArJ5VwjJ4SsVQKPkdxm7Ho5Mw%3D&amp;reserved=0
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fweb400&amp;data=02%7C01%7C%7Cd2184857ee3e439029a208d7589591b1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637075271718677772&amp;sdata=0zpoBFdn%2BzwJwBgLgR04S67Bv6wGLSJSZABsRSdODEQ%3D&amp;reserved=0.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.