gdipCharts - draw charts on your GUI using GDI+
Re: gdipCharts - draw charts on your GUI using GDI+
It is pretty straightforward stuff, although a little rough . If you want similar functionality integrated, you'd probably want to separate the preview and data generation, and adjust parameters/methods to better fit your style for consistency and preference. Cheers.
Grid Fix
There seems to be a bug with it though - that's why I haven't uploaded the second picture.
The first one is online though now.
For now I fixed the grids and some minor bugs in one of the includes and updated all examples to showcase what I did.
I also think I fixed a bug with setFreezeRedraw while I was at it.
The first one is online though now.
For now I fixed the grids and some minor bugs in one of the includes and updated all examples to showcase what I did.
I also think I fixed a bug with setFreezeRedraw while I was at it.
Recommends AHK Studio
Re: gdipCharts - draw charts on your GUI using GDI+
I'm going to upload a new Version featuring labels this week. You can already take a peek at how it is going to look on GitHub.
Then I'm going update the description page here.
After that I'm going to enhance some of the styling options. ( And generally make it more beatiful )
That is followed by enhancing ways to get and set new information.
Finally I will add markers which can be used on parts/points of graphs to to highlight and/or summarize their information.
Then I'm going update the description page here.
After that I'm going to enhance some of the styling options. ( And generally make it more beatiful )
That is followed by enhancing ways to get and set new information.
Finally I will add markers which can be used on parts/points of graphs to to highlight and/or summarize their information.
Recommends AHK Studio
Re: gdipCharts - draw charts on your GUI using GDI+
This may prove useful if I ever decide to upgrade the Biorhythm script to get rid of RMChart. Got one question though: is there - or will it be - an option to draw a custom grid such as the one in the screenshot below instead of the square one?
Part of my AHK work can be found here.
Re: gdipCharts - draw charts on your GUI using GDI+
Yeah GridScaling will still be modified a lot. ( e.g. Scale depending on which format the Labels have )
However I'm nowhere that far yet.
The reason why I take rather long for the recent updates is that I have noticed that I am in need of a geometry class and a better Canvas - so I'm writing every new function with that in mind.
However I'm nowhere that far yet.
The reason why I take rather long for the recent updates is that I have noticed that I am in need of a geometry class and a better Canvas - so I'm writing every new function with that in mind.
Recommends AHK Studio
Re: gdipCharts - draw charts on your GUI using GDI+
OK, thank you, I'll be watching for updates. Good luck!
Part of my AHK work can be found here.
Re: gdipCharts - draw charts on your GUI using GDI+
I guess I will have to postpone the Label update.
The latest Version of the Script should already be able to solve most needs.
In the meantime I will work on getting a new proper Rendering pipeline and a better way to deal with geometry.
Until then.
The latest Version of the Script should already be able to solve most needs.
In the meantime I will work on getting a new proper Rendering pipeline and a better way to deal with geometry.
Until then.
Recommends AHK Studio
Re: gdipCharts - draw charts on your GUI using GDI+
nnnik, a question, instead of drawing the chart on a GUI/control, could one get a bitmap handle instead?
Re: gdipCharts - draw charts on your GUI using GDI+
Yeah the bitmap Object is stored in chart.bitmap.
You can use Bitmap.getpBitmap() if you want it's pBitmap.
You can use Bitmap.getpBitmap() if you want it's pBitmap.
Recommends AHK Studio
Re: gdipCharts - draw charts on your GUI using GDI+
Excellent, I'll try it.
Re: gdipCharts - draw charts on your GUI using GDI+
This was a rather large update - yet I'm not done with Labels.
However they won't change that much anymore.
Today I will work on the documentation for this project - as promised.
However they won't change that much anymore.
Today I will work on the documentation for this project - as promised.
Recommends AHK Studio
Re: gdipCharts - draw charts on your GUI using GDI+
I will probably remove all the documentation on this site since I have moved it to github
https://github.com/nnnik/gdiChartLib/wiki
https://github.com/nnnik/gdiChartLib/wiki
Recommends AHK Studio
Re: gdipCharts - draw charts on your GUI using GDI+
I like how the three steps start from zero.
Just kiddin'. Keep up the good work!
Just kiddin'. Keep up the good work!
Part of my AHK work can be found here.
Re: gdipCharts - draw charts on your GUI using GDI+
Well yeah I wanted to mention what needs to be prepared yet don't think that this counts as being part of creating the chart.
Recommends AHK Studio
Re: gdipCharts - draw charts on your GUI using GDI+
To complete the wiki I will probably add a page each day - since I have a test coming up I won't do any more.
Recommends AHK Studio
Re: gdipCharts - draw charts on your GUI using GDI+
how to make Candle chart ?
Re: gdipCharts - draw charts on your GUI using GDI+
How can data be added to an array and visualized in gdipCharts? I read the documentation, but I didn't see any examples of pushing to an array. The code below does not work.
Any help and guidance would be appreciated.
Any help and guidance would be appreciated.
Code: Select all
#SingleInstance Force
#Include gdipChart.ahk
DataVar := []
Loop, 14
{
DataVar.Push(A_Index * 2)
}
GUI +hwndGUI1 ;get the windows hWND
chart := new gdipChart( GUI1, "", [ 0, 0, 15, 30 ] )
stream := chart.addDataStream( DataVar ) ; this line doesnt work
;stream := chart.addDataStream( [[1,2], [2,4], [3,6], [4,8], [5,10], [6,12], [7,14], [8,16], [9,18], [10,20], [11,22], [12,24], [13,26], [14,28]] ) ; this line does work.
stream.setVisible()
chart.setVisible()
GUI,Show,w600 h400
return
Return to “Scripts and Functions (v1)”
Who is online
Users browsing this forum: No registered users and 94 guests