07-26-2023, 11:35 PM
I want to visualize a table of stock-price data as candlesticks; and as trend lines.
I'm looking for a C-callable library that will take as input raw price data and come out with a graphic file -- a picture -- that I can store someplace and then name in the HTML page that my CGI generates.
I suppose that there are many candidates. I find only three possibilities so far this morning:
1. the boost graphics interface language
2. imagemagick
3. gnuplot
4. I can also imagine drawing directly on the HTML5 canvas. I know less than nothing about that approach.
Can you recommend an approach/library that's straightforward, flexible, rich, and powerful?
I'm looking for a C-callable library that will take as input raw price data and come out with a graphic file -- a picture -- that I can store someplace and then name in the HTML page that my CGI generates.
I suppose that there are many candidates. I find only three possibilities so far this morning:
1. the boost graphics interface language
2. imagemagick
3. gnuplot
4. I can also imagine drawing directly on the HTML5 canvas. I know less than nothing about that approach.
Can you recommend an approach/library that's straightforward, flexible, rich, and powerful?