ntcharts 0.1.0-aarch64-linux-gnu
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README.md +332 -0
- data/ext/ntcharts/barchart.c +215 -0
- data/ext/ntcharts/extconf.rb +70 -0
- data/ext/ntcharts/extension.c +44 -0
- data/ext/ntcharts/extension.h +92 -0
- data/ext/ntcharts/linechart.c +341 -0
- data/ext/ntcharts/sparkline.c +161 -0
- data/ext/ntcharts/streamlinechart.c +183 -0
- data/ext/ntcharts/style.c +77 -0
- data/ext/ntcharts/timeserieslinechart.c +296 -0
- data/ext/ntcharts/wavelinechart.c +248 -0
- data/go/barchart.go +356 -0
- data/go/build/linux_arm64/libntcharts.a +0 -0
- data/go/build/linux_arm64/libntcharts.h +276 -0
- data/go/go.mod +32 -0
- data/go/go.sum +51 -0
- data/go/linechart.go +441 -0
- data/go/ntcharts.go +279 -0
- data/go/sparkline.go +194 -0
- data/go/streamlinechart.go +234 -0
- data/go/timeserieslinechart.go +354 -0
- data/go/wavelinechart.go +309 -0
- data/lib/ntcharts/3.2/ntcharts.so +0 -0
- data/lib/ntcharts/3.3/ntcharts.so +0 -0
- data/lib/ntcharts/3.4/ntcharts.so +0 -0
- data/lib/ntcharts/4.0/ntcharts.so +0 -0
- data/lib/ntcharts/bar_data.rb +51 -0
- data/lib/ntcharts/version.rb +5 -0
- data/lib/ntcharts.rb +102 -0
- data/ntcharts.gemspec +36 -0
- metadata +91 -0
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
/* Code generated by cmd/cgo; DO NOT EDIT. */
|
|
2
|
+
|
|
3
|
+
/* package github.com/marcoroth/ntcharts-ruby/go */
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
#line 1 "cgo-builtin-export-prolog"
|
|
7
|
+
|
|
8
|
+
#include <stddef.h>
|
|
9
|
+
|
|
10
|
+
#ifndef GO_CGO_EXPORT_PROLOGUE_H
|
|
11
|
+
#define GO_CGO_EXPORT_PROLOGUE_H
|
|
12
|
+
|
|
13
|
+
#ifndef GO_CGO_GOSTRING_TYPEDEF
|
|
14
|
+
typedef struct { const char *p; ptrdiff_t n; } _GoString_;
|
|
15
|
+
#endif
|
|
16
|
+
|
|
17
|
+
#endif
|
|
18
|
+
|
|
19
|
+
/* Start of preamble from import "C" comments. */
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
#line 3 "linechart.go"
|
|
24
|
+
|
|
25
|
+
#include <stdlib.h>
|
|
26
|
+
|
|
27
|
+
#line 1 "cgo-generated-wrapper"
|
|
28
|
+
|
|
29
|
+
#line 3 "ntcharts.go"
|
|
30
|
+
|
|
31
|
+
#include <stdlib.h>
|
|
32
|
+
|
|
33
|
+
#line 1 "cgo-generated-wrapper"
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
#line 3 "streamlinechart.go"
|
|
37
|
+
|
|
38
|
+
#include <stdlib.h>
|
|
39
|
+
|
|
40
|
+
#line 1 "cgo-generated-wrapper"
|
|
41
|
+
|
|
42
|
+
#line 3 "timeserieslinechart.go"
|
|
43
|
+
|
|
44
|
+
#include <stdlib.h>
|
|
45
|
+
|
|
46
|
+
#line 1 "cgo-generated-wrapper"
|
|
47
|
+
|
|
48
|
+
#line 3 "wavelinechart.go"
|
|
49
|
+
|
|
50
|
+
#include <stdlib.h>
|
|
51
|
+
|
|
52
|
+
#line 1 "cgo-generated-wrapper"
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
/* End of preamble from import "C" comments. */
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
/* Start of boilerplate cgo prologue. */
|
|
59
|
+
#line 1 "cgo-gcc-export-header-prolog"
|
|
60
|
+
|
|
61
|
+
#ifndef GO_CGO_PROLOGUE_H
|
|
62
|
+
#define GO_CGO_PROLOGUE_H
|
|
63
|
+
|
|
64
|
+
typedef signed char GoInt8;
|
|
65
|
+
typedef unsigned char GoUint8;
|
|
66
|
+
typedef short GoInt16;
|
|
67
|
+
typedef unsigned short GoUint16;
|
|
68
|
+
typedef int GoInt32;
|
|
69
|
+
typedef unsigned int GoUint32;
|
|
70
|
+
typedef long long GoInt64;
|
|
71
|
+
typedef unsigned long long GoUint64;
|
|
72
|
+
typedef GoInt64 GoInt;
|
|
73
|
+
typedef GoUint64 GoUint;
|
|
74
|
+
typedef size_t GoUintptr;
|
|
75
|
+
typedef float GoFloat32;
|
|
76
|
+
typedef double GoFloat64;
|
|
77
|
+
#ifdef _MSC_VER
|
|
78
|
+
#include <complex.h>
|
|
79
|
+
typedef _Fcomplex GoComplex64;
|
|
80
|
+
typedef _Dcomplex GoComplex128;
|
|
81
|
+
#else
|
|
82
|
+
typedef float _Complex GoComplex64;
|
|
83
|
+
typedef double _Complex GoComplex128;
|
|
84
|
+
#endif
|
|
85
|
+
|
|
86
|
+
/*
|
|
87
|
+
static assertion to make sure the file is being used on architecture
|
|
88
|
+
at least with matching size of GoInt.
|
|
89
|
+
*/
|
|
90
|
+
typedef char _check_for_64_bit_pointer_matching_GoInt[sizeof(void*)==64/8 ? 1:-1];
|
|
91
|
+
|
|
92
|
+
#ifndef GO_CGO_GOSTRING_TYPEDEF
|
|
93
|
+
typedef _GoString_ GoString;
|
|
94
|
+
#endif
|
|
95
|
+
typedef void *GoMap;
|
|
96
|
+
typedef void *GoChan;
|
|
97
|
+
typedef struct { void *t; void *v; } GoInterface;
|
|
98
|
+
typedef struct { void *data; GoInt len; GoInt cap; } GoSlice;
|
|
99
|
+
|
|
100
|
+
#endif
|
|
101
|
+
|
|
102
|
+
/* End of boilerplate cgo prologue. */
|
|
103
|
+
|
|
104
|
+
#ifdef __cplusplus
|
|
105
|
+
extern "C" {
|
|
106
|
+
#endif
|
|
107
|
+
|
|
108
|
+
extern long long unsigned int ntcharts_barchart_new(int width, int height);
|
|
109
|
+
extern void ntcharts_barchart_free(long long unsigned int id);
|
|
110
|
+
extern int ntcharts_barchart_width(long long unsigned int id);
|
|
111
|
+
extern int ntcharts_barchart_height(long long unsigned int id);
|
|
112
|
+
extern double ntcharts_barchart_max_value(long long unsigned int id);
|
|
113
|
+
extern double ntcharts_barchart_scale(long long unsigned int id);
|
|
114
|
+
extern int ntcharts_barchart_bar_width(long long unsigned int id);
|
|
115
|
+
extern int ntcharts_barchart_bar_gap(long long unsigned int id);
|
|
116
|
+
extern int ntcharts_barchart_show_axis(long long unsigned int id);
|
|
117
|
+
extern int ntcharts_barchart_horizontal(long long unsigned int id);
|
|
118
|
+
extern void ntcharts_barchart_set_max(long long unsigned int id, double maxVal);
|
|
119
|
+
extern void ntcharts_barchart_set_bar_width(long long unsigned int id, int width);
|
|
120
|
+
extern void ntcharts_barchart_set_bar_gap(long long unsigned int id, int gap);
|
|
121
|
+
extern void ntcharts_barchart_set_horizontal(long long unsigned int id, int horizontal);
|
|
122
|
+
extern void ntcharts_barchart_set_show_axis(long long unsigned int id, int showAxis);
|
|
123
|
+
extern void ntcharts_barchart_set_auto_max_value(long long unsigned int id, int autoMax);
|
|
124
|
+
extern void ntcharts_barchart_set_auto_bar_width(long long unsigned int id, int autoWidth);
|
|
125
|
+
extern void ntcharts_barchart_set_axis_style(long long unsigned int id, long long unsigned int styleID);
|
|
126
|
+
extern void ntcharts_barchart_set_label_style(long long unsigned int id, long long unsigned int styleID);
|
|
127
|
+
extern void ntcharts_barchart_resize(long long unsigned int id, int width, int height);
|
|
128
|
+
extern void ntcharts_barchart_clear(long long unsigned int id);
|
|
129
|
+
extern void ntcharts_barchart_push(long long unsigned int id, char* barDataJSON);
|
|
130
|
+
extern void ntcharts_barchart_push_all(long long unsigned int id, char* barDataArrayJSON);
|
|
131
|
+
extern void ntcharts_barchart_draw(long long unsigned int id);
|
|
132
|
+
extern char* ntcharts_barchart_view(long long unsigned int id);
|
|
133
|
+
extern long long unsigned int ntcharts_linechart_new(int width, int height, double minX, double maxX, double minY, double maxY);
|
|
134
|
+
extern long long unsigned int ntcharts_linechart_new_with_auto_range(int width, int height);
|
|
135
|
+
extern void ntcharts_linechart_free(long long unsigned int id);
|
|
136
|
+
extern int ntcharts_linechart_width(long long unsigned int id);
|
|
137
|
+
extern int ntcharts_linechart_height(long long unsigned int id);
|
|
138
|
+
extern int ntcharts_linechart_graph_width(long long unsigned int id);
|
|
139
|
+
extern int ntcharts_linechart_graph_height(long long unsigned int id);
|
|
140
|
+
extern double ntcharts_linechart_min_x(long long unsigned int id);
|
|
141
|
+
extern double ntcharts_linechart_max_x(long long unsigned int id);
|
|
142
|
+
extern double ntcharts_linechart_min_y(long long unsigned int id);
|
|
143
|
+
extern double ntcharts_linechart_max_y(long long unsigned int id);
|
|
144
|
+
extern double ntcharts_linechart_view_min_x(long long unsigned int id);
|
|
145
|
+
extern double ntcharts_linechart_view_max_x(long long unsigned int id);
|
|
146
|
+
extern double ntcharts_linechart_view_min_y(long long unsigned int id);
|
|
147
|
+
extern double ntcharts_linechart_view_max_y(long long unsigned int id);
|
|
148
|
+
extern int ntcharts_linechart_x_step(long long unsigned int id);
|
|
149
|
+
extern int ntcharts_linechart_y_step(long long unsigned int id);
|
|
150
|
+
extern void ntcharts_linechart_set_x_step(long long unsigned int id, int step);
|
|
151
|
+
extern void ntcharts_linechart_set_y_step(long long unsigned int id, int step);
|
|
152
|
+
extern void ntcharts_linechart_set_x_range(long long unsigned int id, double minVal, double maxVal);
|
|
153
|
+
extern void ntcharts_linechart_set_y_range(long long unsigned int id, double minVal, double maxVal);
|
|
154
|
+
extern int ntcharts_linechart_set_view_x_range(long long unsigned int id, double minVal, double maxVal);
|
|
155
|
+
extern int ntcharts_linechart_set_view_y_range(long long unsigned int id, double minVal, double maxVal);
|
|
156
|
+
extern void ntcharts_linechart_set_auto_x_range(long long unsigned int id, int autoMin, int autoMax);
|
|
157
|
+
extern void ntcharts_linechart_set_auto_y_range(long long unsigned int id, int autoMin, int autoMax);
|
|
158
|
+
extern void ntcharts_linechart_resize(long long unsigned int id, int width, int height);
|
|
159
|
+
extern void ntcharts_linechart_clear(long long unsigned int id);
|
|
160
|
+
extern void ntcharts_linechart_draw_axes(long long unsigned int id);
|
|
161
|
+
extern void ntcharts_linechart_draw_rune(long long unsigned int id, double x, double y, int r);
|
|
162
|
+
extern void ntcharts_linechart_draw_rune_with_style(long long unsigned int id, double x, double y, int r, long long unsigned int styleID);
|
|
163
|
+
extern void ntcharts_linechart_draw_line(long long unsigned int id, double x1, double y1, double x2, double y2, int lineStyle);
|
|
164
|
+
extern void ntcharts_linechart_draw_line_with_style(long long unsigned int id, double x1, double y1, double x2, double y2, int lineStyle, long long unsigned int styleID);
|
|
165
|
+
extern void ntcharts_linechart_draw_braille_line(long long unsigned int id, double x1, double y1, double x2, double y2);
|
|
166
|
+
extern void ntcharts_linechart_draw_braille_line_with_style(long long unsigned int id, double x1, double y1, double x2, double y2, long long unsigned int styleID);
|
|
167
|
+
extern void ntcharts_linechart_set_style(long long unsigned int id, long long unsigned int styleID);
|
|
168
|
+
extern void ntcharts_linechart_set_axis_style(long long unsigned int id, long long unsigned int styleID);
|
|
169
|
+
extern void ntcharts_linechart_set_label_style(long long unsigned int id, long long unsigned int styleID);
|
|
170
|
+
extern char* ntcharts_linechart_view(long long unsigned int id);
|
|
171
|
+
extern void ntcharts_free(char* pointer);
|
|
172
|
+
extern char* ntcharts_upstream_version();
|
|
173
|
+
extern long long unsigned int ntcharts_style_new();
|
|
174
|
+
extern void ntcharts_style_free(long long unsigned int id);
|
|
175
|
+
extern long long unsigned int ntcharts_style_foreground(long long unsigned int id, char* color);
|
|
176
|
+
extern long long unsigned int ntcharts_style_background(long long unsigned int id, char* color);
|
|
177
|
+
extern long long unsigned int ntcharts_style_bold(long long unsigned int id, int bold);
|
|
178
|
+
extern long long unsigned int ntcharts_sparkline_new(int width, int height);
|
|
179
|
+
extern void ntcharts_sparkline_free(long long unsigned int id);
|
|
180
|
+
extern int ntcharts_sparkline_width(long long unsigned int id);
|
|
181
|
+
extern int ntcharts_sparkline_height(long long unsigned int id);
|
|
182
|
+
extern double ntcharts_sparkline_max_value(long long unsigned int id);
|
|
183
|
+
extern double ntcharts_sparkline_scale(long long unsigned int id);
|
|
184
|
+
extern void ntcharts_sparkline_set_max(long long unsigned int id, double maxVal);
|
|
185
|
+
extern void ntcharts_sparkline_set_style(long long unsigned int id, long long unsigned int styleID);
|
|
186
|
+
extern void ntcharts_sparkline_set_auto_max_value(long long unsigned int id, int autoVal);
|
|
187
|
+
extern void ntcharts_sparkline_resize(long long unsigned int id, int width, int height);
|
|
188
|
+
extern void ntcharts_sparkline_clear(long long unsigned int id);
|
|
189
|
+
extern void ntcharts_sparkline_push(long long unsigned int id, double value);
|
|
190
|
+
extern void ntcharts_sparkline_push_all(long long unsigned int id, char* valuesJSON);
|
|
191
|
+
extern void ntcharts_sparkline_draw(long long unsigned int id);
|
|
192
|
+
extern void ntcharts_sparkline_draw_columns_only(long long unsigned int id);
|
|
193
|
+
extern void ntcharts_sparkline_draw_braille(long long unsigned int id);
|
|
194
|
+
extern char* ntcharts_sparkline_view(long long unsigned int id);
|
|
195
|
+
extern long long unsigned int ntcharts_streamlinechart_new(int width, int height);
|
|
196
|
+
extern void ntcharts_streamlinechart_free(long long unsigned int id);
|
|
197
|
+
extern int ntcharts_streamlinechart_width(long long unsigned int id);
|
|
198
|
+
extern int ntcharts_streamlinechart_height(long long unsigned int id);
|
|
199
|
+
extern int ntcharts_streamlinechart_graph_width(long long unsigned int id);
|
|
200
|
+
extern int ntcharts_streamlinechart_graph_height(long long unsigned int id);
|
|
201
|
+
extern double ntcharts_streamlinechart_min_y(long long unsigned int id);
|
|
202
|
+
extern double ntcharts_streamlinechart_max_y(long long unsigned int id);
|
|
203
|
+
extern void ntcharts_streamlinechart_set_y_range(long long unsigned int id, double minVal, double maxVal);
|
|
204
|
+
extern void ntcharts_streamlinechart_set_view_y_range(long long unsigned int id, double minVal, double maxVal);
|
|
205
|
+
extern void ntcharts_streamlinechart_resize(long long unsigned int id, int width, int height);
|
|
206
|
+
extern void ntcharts_streamlinechart_clear(long long unsigned int id);
|
|
207
|
+
extern void ntcharts_streamlinechart_clear_data(long long unsigned int id);
|
|
208
|
+
extern void ntcharts_streamlinechart_push(long long unsigned int id, double value);
|
|
209
|
+
extern void ntcharts_streamlinechart_set_styles(long long unsigned int id, int lineStyle, long long unsigned int styleID);
|
|
210
|
+
extern void ntcharts_streamlinechart_set_style(long long unsigned int id, long long unsigned int styleID);
|
|
211
|
+
extern void ntcharts_streamlinechart_set_axis_style(long long unsigned int id, long long unsigned int styleID);
|
|
212
|
+
extern void ntcharts_streamlinechart_set_label_style(long long unsigned int id, long long unsigned int styleID);
|
|
213
|
+
extern void ntcharts_streamlinechart_draw(long long unsigned int id);
|
|
214
|
+
extern char* ntcharts_streamlinechart_view(long long unsigned int id);
|
|
215
|
+
extern long long unsigned int ntcharts_timeserieslinechart_new(int width, int height);
|
|
216
|
+
extern void ntcharts_timeserieslinechart_free(long long unsigned int id);
|
|
217
|
+
extern int ntcharts_timeserieslinechart_width(long long unsigned int id);
|
|
218
|
+
extern int ntcharts_timeserieslinechart_height(long long unsigned int id);
|
|
219
|
+
extern int ntcharts_timeserieslinechart_graph_width(long long unsigned int id);
|
|
220
|
+
extern int ntcharts_timeserieslinechart_graph_height(long long unsigned int id);
|
|
221
|
+
extern long long int ntcharts_timeserieslinechart_min_x(long long unsigned int id);
|
|
222
|
+
extern long long int ntcharts_timeserieslinechart_max_x(long long unsigned int id);
|
|
223
|
+
extern double ntcharts_timeserieslinechart_min_y(long long unsigned int id);
|
|
224
|
+
extern double ntcharts_timeserieslinechart_max_y(long long unsigned int id);
|
|
225
|
+
extern void ntcharts_timeserieslinechart_set_time_range(long long unsigned int id, long long int minUnix, long long int maxUnix);
|
|
226
|
+
extern void ntcharts_timeserieslinechart_set_y_range(long long unsigned int id, double minVal, double maxVal);
|
|
227
|
+
extern void ntcharts_timeserieslinechart_set_view_time_range(long long unsigned int id, long long int minUnix, long long int maxUnix);
|
|
228
|
+
extern void ntcharts_timeserieslinechart_set_view_y_range(long long unsigned int id, double minVal, double maxVal);
|
|
229
|
+
extern void ntcharts_timeserieslinechart_resize(long long unsigned int id, int width, int height);
|
|
230
|
+
extern void ntcharts_timeserieslinechart_clear(long long unsigned int id);
|
|
231
|
+
extern void ntcharts_timeserieslinechart_clear_all_data(long long unsigned int id);
|
|
232
|
+
extern void ntcharts_timeserieslinechart_clear_data_set(long long unsigned int id, char* name);
|
|
233
|
+
extern void ntcharts_timeserieslinechart_push(long long unsigned int id, long long int timeUnix, double value);
|
|
234
|
+
extern void ntcharts_timeserieslinechart_push_data_set(long long unsigned int id, char* name, long long int timeUnix, double value);
|
|
235
|
+
extern void ntcharts_timeserieslinechart_set_line_style(long long unsigned int id, int lineStyle);
|
|
236
|
+
extern void ntcharts_timeserieslinechart_set_style(long long unsigned int id, long long unsigned int styleID);
|
|
237
|
+
extern void ntcharts_timeserieslinechart_set_data_set_line_style(long long unsigned int id, char* name, int lineStyle);
|
|
238
|
+
extern void ntcharts_timeserieslinechart_set_data_set_style(long long unsigned int id, char* name, long long unsigned int styleID);
|
|
239
|
+
extern void ntcharts_timeserieslinechart_set_axis_style(long long unsigned int id, long long unsigned int styleID);
|
|
240
|
+
extern void ntcharts_timeserieslinechart_set_label_style(long long unsigned int id, long long unsigned int styleID);
|
|
241
|
+
extern void ntcharts_timeserieslinechart_draw(long long unsigned int id);
|
|
242
|
+
extern void ntcharts_timeserieslinechart_draw_all(long long unsigned int id);
|
|
243
|
+
extern void ntcharts_timeserieslinechart_draw_braille(long long unsigned int id);
|
|
244
|
+
extern void ntcharts_timeserieslinechart_draw_braille_all(long long unsigned int id);
|
|
245
|
+
extern char* ntcharts_timeserieslinechart_view(long long unsigned int id);
|
|
246
|
+
extern long long unsigned int ntcharts_wavelinechart_new(int width, int height);
|
|
247
|
+
extern void ntcharts_wavelinechart_free(long long unsigned int id);
|
|
248
|
+
extern int ntcharts_wavelinechart_width(long long unsigned int id);
|
|
249
|
+
extern int ntcharts_wavelinechart_height(long long unsigned int id);
|
|
250
|
+
extern int ntcharts_wavelinechart_graph_width(long long unsigned int id);
|
|
251
|
+
extern int ntcharts_wavelinechart_graph_height(long long unsigned int id);
|
|
252
|
+
extern double ntcharts_wavelinechart_min_x(long long unsigned int id);
|
|
253
|
+
extern double ntcharts_wavelinechart_max_x(long long unsigned int id);
|
|
254
|
+
extern double ntcharts_wavelinechart_min_y(long long unsigned int id);
|
|
255
|
+
extern double ntcharts_wavelinechart_max_y(long long unsigned int id);
|
|
256
|
+
extern void ntcharts_wavelinechart_set_y_range(long long unsigned int id, double minVal, double maxVal);
|
|
257
|
+
extern void ntcharts_wavelinechart_set_view_x_range(long long unsigned int id, double minVal, double maxVal);
|
|
258
|
+
extern void ntcharts_wavelinechart_set_view_y_range(long long unsigned int id, double minVal, double maxVal);
|
|
259
|
+
extern void ntcharts_wavelinechart_resize(long long unsigned int id, int width, int height);
|
|
260
|
+
extern void ntcharts_wavelinechart_clear(long long unsigned int id);
|
|
261
|
+
extern void ntcharts_wavelinechart_clear_all_data(long long unsigned int id);
|
|
262
|
+
extern void ntcharts_wavelinechart_clear_data_set(long long unsigned int id, char* name);
|
|
263
|
+
extern void ntcharts_wavelinechart_plot(long long unsigned int id, double x, double y);
|
|
264
|
+
extern void ntcharts_wavelinechart_plot_data_set(long long unsigned int id, char* name, double x, double y);
|
|
265
|
+
extern void ntcharts_wavelinechart_set_styles(long long unsigned int id, int lineStyle, long long unsigned int styleID);
|
|
266
|
+
extern void ntcharts_wavelinechart_set_data_set_styles(long long unsigned int id, char* name, int lineStyle, long long unsigned int styleID);
|
|
267
|
+
extern void ntcharts_wavelinechart_set_style(long long unsigned int id, long long unsigned int styleID);
|
|
268
|
+
extern void ntcharts_wavelinechart_set_axis_style(long long unsigned int id, long long unsigned int styleID);
|
|
269
|
+
extern void ntcharts_wavelinechart_set_label_style(long long unsigned int id, long long unsigned int styleID);
|
|
270
|
+
extern void ntcharts_wavelinechart_draw(long long unsigned int id);
|
|
271
|
+
extern void ntcharts_wavelinechart_draw_all(long long unsigned int id);
|
|
272
|
+
extern char* ntcharts_wavelinechart_view(long long unsigned int id);
|
|
273
|
+
|
|
274
|
+
#ifdef __cplusplus
|
|
275
|
+
}
|
|
276
|
+
#endif
|
data/go/go.mod
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
module github.com/marcoroth/ntcharts-ruby/go
|
|
2
|
+
|
|
3
|
+
go 1.23.0
|
|
4
|
+
|
|
5
|
+
require (
|
|
6
|
+
github.com/NimbleMarkets/ntcharts v0.3.1
|
|
7
|
+
github.com/charmbracelet/lipgloss v1.1.0
|
|
8
|
+
)
|
|
9
|
+
|
|
10
|
+
require (
|
|
11
|
+
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
|
|
12
|
+
github.com/charmbracelet/bubbles v0.20.0 // indirect
|
|
13
|
+
github.com/charmbracelet/bubbletea v1.2.2 // indirect
|
|
14
|
+
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc // indirect
|
|
15
|
+
github.com/charmbracelet/x/ansi v0.8.0 // indirect
|
|
16
|
+
github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd // indirect
|
|
17
|
+
github.com/charmbracelet/x/term v0.2.1 // indirect
|
|
18
|
+
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
|
|
19
|
+
github.com/lrstanley/bubblezone v0.0.0-20240914071701-b48c55a5e78e // indirect
|
|
20
|
+
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
|
|
21
|
+
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
22
|
+
github.com/mattn/go-localereader v0.0.1 // indirect
|
|
23
|
+
github.com/mattn/go-runewidth v0.0.16 // indirect
|
|
24
|
+
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
|
|
25
|
+
github.com/muesli/cancelreader v0.2.2 // indirect
|
|
26
|
+
github.com/muesli/termenv v0.16.0 // indirect
|
|
27
|
+
github.com/rivo/uniseg v0.4.7 // indirect
|
|
28
|
+
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
|
|
29
|
+
golang.org/x/sync v0.9.0 // indirect
|
|
30
|
+
golang.org/x/sys v0.30.0 // indirect
|
|
31
|
+
golang.org/x/text v0.20.0 // indirect
|
|
32
|
+
)
|
data/go/go.sum
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
github.com/NimbleMarkets/ntcharts v0.3.1 h1:EH4O80RMy5rqDmZM7aWjTbCSuRDDJ5fXOv/qAzdwOjk=
|
|
2
|
+
github.com/NimbleMarkets/ntcharts v0.3.1/go.mod h1:zVeRqYkh2n59YPe1bflaSL4O2aD2ZemNmrbdEqZ70hk=
|
|
3
|
+
github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k=
|
|
4
|
+
github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8=
|
|
5
|
+
github.com/charmbracelet/bubbles v0.20.0 h1:jSZu6qD8cRQ6k9OMfR1WlM+ruM8fkPWkHvQWD9LIutE=
|
|
6
|
+
github.com/charmbracelet/bubbles v0.20.0/go.mod h1:39slydyswPy+uVOHZ5x/GjwVAFkCsV8IIVy+4MhzwwU=
|
|
7
|
+
github.com/charmbracelet/bubbletea v1.2.2 h1:EMz//Ky/aFS2uLcKqpCst5UOE6z5CFDGRsUpyXz0chs=
|
|
8
|
+
github.com/charmbracelet/bubbletea v1.2.2/go.mod h1:Qr6fVQw+wX7JkWWkVyXYk/ZUQ92a6XNekLXa3rR18MM=
|
|
9
|
+
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc h1:4pZI35227imm7yK2bGPcfpFEmuY1gc2YSTShr4iJBfs=
|
|
10
|
+
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc/go.mod h1:X4/0JoqgTIPSFcRA/P6INZzIuyqdFY5rm8tb41s9okk=
|
|
11
|
+
github.com/charmbracelet/lipgloss v1.1.0 h1:vYXsiLHVkK7fp74RkV7b2kq9+zDLoEU4MZoFqR/noCY=
|
|
12
|
+
github.com/charmbracelet/lipgloss v1.1.0/go.mod h1:/6Q8FR2o+kj8rz4Dq0zQc3vYf7X+B0binUUBwA0aL30=
|
|
13
|
+
github.com/charmbracelet/x/ansi v0.8.0 h1:9GTq3xq9caJW8ZrBTe0LIe2fvfLR/bYXKTx2llXn7xE=
|
|
14
|
+
github.com/charmbracelet/x/ansi v0.8.0/go.mod h1:wdYl/ONOLHLIVmQaxbIYEC/cRKOQyjTkowiI4blgS9Q=
|
|
15
|
+
github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd h1:vy0GVL4jeHEwG5YOXDmi86oYw2yuYUGqz6a8sLwg0X8=
|
|
16
|
+
github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd/go.mod h1:xe0nKWGd3eJgtqZRaN9RjMtK7xUYchjzPr7q6kcvCCs=
|
|
17
|
+
github.com/charmbracelet/x/term v0.2.1 h1:AQeHeLZ1OqSXhrAWpYUtZyX1T3zVxfpZuEQMIQaGIAQ=
|
|
18
|
+
github.com/charmbracelet/x/term v0.2.1/go.mod h1:oQ4enTYFV7QN4m0i9mzHrViD7TQKvNEEkHUMCmsxdUg=
|
|
19
|
+
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f h1:Y/CXytFA4m6baUTXGLOoWe4PQhGxaX0KpnayAqC48p4=
|
|
20
|
+
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f/go.mod h1:vw97MGsxSvLiUE2X8qFplwetxpGLQrlU1Q9AUEIzCaM=
|
|
21
|
+
github.com/lrstanley/bubblezone v0.0.0-20240914071701-b48c55a5e78e h1:OLwZ8xVaeVrru0xyeuOX+fne0gQTFEGlzfNjipCbxlU=
|
|
22
|
+
github.com/lrstanley/bubblezone v0.0.0-20240914071701-b48c55a5e78e/go.mod h1:NQ34EGeu8FAYGBMDzwhfNJL8YQYoWZP5xYJPRDAwN3E=
|
|
23
|
+
github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY=
|
|
24
|
+
github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=
|
|
25
|
+
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
|
|
26
|
+
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
|
|
27
|
+
github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4=
|
|
28
|
+
github.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+EiG4R1k4Cjx5p88=
|
|
29
|
+
github.com/mattn/go-runewidth v0.0.16 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6TULQc=
|
|
30
|
+
github.com/mattn/go-runewidth v0.0.16/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
|
|
31
|
+
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 h1:ZK8zHtRHOkbHy6Mmr5D264iyp3TiX5OmNcI5cIARiQI=
|
|
32
|
+
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6/go.mod h1:CJlz5H+gyd6CUWT45Oy4q24RdLyn7Md9Vj2/ldJBSIo=
|
|
33
|
+
github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA=
|
|
34
|
+
github.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo=
|
|
35
|
+
github.com/muesli/termenv v0.16.0 h1:S5AlUN9dENB57rsbnkPyfdGuWIlkmzJjbFf0Tf5FWUc=
|
|
36
|
+
github.com/muesli/termenv v0.16.0/go.mod h1:ZRfOIKPFDYQoDFF4Olj7/QJbW60Ol/kL1pU3VfY/Cnk=
|
|
37
|
+
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
|
|
38
|
+
github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
|
|
39
|
+
github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
|
|
40
|
+
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e h1:JVG44RsyaB9T2KIHavMF/ppJZNG9ZpyihvCd0w101no=
|
|
41
|
+
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e/go.mod h1:RbqR21r5mrJuqunuUZ/Dhy/avygyECGrLceyNeo4LiM=
|
|
42
|
+
golang.org/x/exp v0.0.0-20220909182711-5c715a9e8561 h1:MDc5xs78ZrZr3HMQugiXOAkSZtfTpbJLDr/lwfgO53E=
|
|
43
|
+
golang.org/x/exp v0.0.0-20220909182711-5c715a9e8561/go.mod h1:cyybsKvd6eL0RnXn6p/Grxp8F5bW7iYuBgsNCOHpMYE=
|
|
44
|
+
golang.org/x/sync v0.9.0 h1:fEo0HyrW1GIgZdpbhCRO0PkJajUS5H9IFUztCgEo2jQ=
|
|
45
|
+
golang.org/x/sync v0.9.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
|
|
46
|
+
golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|
47
|
+
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|
48
|
+
golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc=
|
|
49
|
+
golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
|
50
|
+
golang.org/x/text v0.20.0 h1:gK/Kv2otX8gz+wn7Rmb3vT96ZwuoxnQlY+HlJVj7Qug=
|
|
51
|
+
golang.org/x/text v0.20.0/go.mod h1:D4IsuqiFMhST5bX19pQ9ikHC2GsaKyk/oF+pn3ducp4=
|