Google Chart API to Print Data on Local Machine

Introduction:

I am a systems programmer (who just started my career as an S / W engineer), so web scripting languages ​​are not very good even though I just started learning them.

Synopsis problem:

I want to write an application that monitors what I am doing and records it, which allows me to analyze my time expenditure chart and help me analyze whenever I want.

Description of the problem:

My plan is to write an application that sits in the background and monitors the active window on my desktop (every second) and stores that data in a SQLite database. But to be more appealing (since I want to share this app with others), I want to have a feature where the user can parse the data recorded between any periods of interest. For this, I want the user to be able to create charts and graphs using the recorded data.

For this, I thought about how to use the browser for UI and the Google Rendering API to work with graphics. So, is it possible to use the Google Visualization API to plot local data? if yes plz will prompt me how to proceed ... (As said, I am a programmer, C programmer to be specific, who just started learning web scripts in their spare time)

The reasons for these decisions:

(1) The application that records what I do will be in C / C ++ - B'coz I am a systems programmer and I am very comfortable with them. And you can do it quickly and easily.

(2) SQLite is very small and can be easily embedded into my application and is Open Source. And I think a lot of web scripts look like PHP, python has interfaces to access SQLite DB.

(3) Browser for UI - Hopefully it will be easy for the user to use the browser and I have nothing to do in regards to the user interface. As the main UI will be the browser and the Google Rendering API will do the plot. All I have to do is write a few lines of script (Am I here at the last point ???)

A comment on my design decision and any tutorials (or pointers) that teach me how to do this would be much appreciated ...

thanks

MicroKernel :)

PS: Idea inspired by Nathan Bolch https://stackoverflow.com/questions/161590/how-do-you-track-your-time

@ Nathan Bowlch . Thank you so much for such a brilliant idea. \ T /

+2


a source to share


1 answer


I would inject the browser into the application (you want to write in C #)



and use jquery graphics as graph. You will find more information here: http://www.flotcharts.org/

0


a source







All Articles