Source on Github: https://github.com/neovis22/chart
Here is a simple usage example:
Code: Select all
#Include <chart/chart>
#include <chart/gdip_all>
OnExit(Func("Gdip_Shutdown").bind(Gdip_Startup()))
Gui Add, Pic, xm w600 h300 0xE Hwndhwnd
chart := chart(hwnd, "Line").title("Title of Chart").labels("Item 1,Item 2")
chart.xAxis.title("X Axis").labels("Apple,Lime,Mango,Orange,Banana")
chart.yAxis.title("Y Axis").range(0, 100).grid(5)
loop 2 {
chart.data(data := [])
loop 10 {
Random n, 0, 100
data.push(n)
}
}
chart.plot()
Gui Show