You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: haas-production-flex-numbers/hs.charting.def.lua
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,8 @@ function ChangeColorOpacity(color, opacity) end
8
8
9
9
--- The optional parameters of ChartAddAxisLabel.
10
10
--- @shape OptionalParametersOf_ChartAddAxisLabel
11
-
--- @fieldcolorstring | nil The label fill color.
12
-
--- @fieldtextColorstring | nil The text color.
11
+
--- @fieldcolorstring | ColorEnum | nil The label fill color.
12
+
--- @fieldtextColorstring | ColorEnum | nil The text color.
13
13
14
14
--- Adds a label on the y-axis.
15
15
--- @paramchartIdnumber | number[] The chart index on which to add the label.
@@ -66,7 +66,7 @@ function ChartSetOptions(chartId, title, height, style) end
66
66
67
67
--- The optional parameters of LineOptions.
68
68
--- @shape OptionalParametersOf_LineOptions
69
-
--- @fieldcolorstring | nil The color of the line.
69
+
--- @fieldcolorstring | ColorEnum | nil The color of the line.
70
70
--- @fieldstyleEnum | nil The style of the line (Spiked, Smooth, Step and others).
71
71
--- @fielddecoEnum | nil The line decoration (Solid, Dashed, Dotted).
72
72
--- @fieldwidthnumber | number[] | nil The width of the line.
@@ -116,7 +116,7 @@ function MarkCandle(chartId, depth) end
116
116
117
117
--- The optional parameters of Plot.
118
118
--- @shape OptionalParametersOf_Plot
119
-
--- @fieldcolorOrOptionsany | nil Line options object or a color string.
119
+
--- @fieldcolorOrOptionsany | ColorEnum | nil Line options object or a color string.
120
120
121
121
--- Creates a data line on the chart. The line can be styled accordingly. A positive chartId will place the line below the main price chart. A negative index above.
122
122
--- @paramchartIdnumber | number[] Index on which to plot the line.
@@ -138,7 +138,7 @@ function PlotBands(lineGuid1, lineGuid2, fillColor) end
138
138
--- The optional parameters of PlotBars.
139
139
--- @shape OptionalParametersOf_PlotBars
140
140
--- @fieldbaseValuenumber | number[] | nil The value from where the bars are drawn. Default is 0.
141
-
--- @fieldfillColorstring | nil The inner color of the bars. Default is none.
141
+
--- @fieldfillColorstring | ColorEnum | nil The inner color of the bars. Default is none.
142
142
143
143
--- Changes a line to bars.
144
144
--- @paramlineGuidstring Line guid returned by Plot(). Suggestions: Plot
@@ -174,7 +174,7 @@ function PlotBuySellZone(chartId, start, endValue) end
174
174
175
175
--- The optional parameters of PlotCircle.
176
176
--- @shape OptionalParametersOf_PlotCircle
177
-
--- @fieldfillColorstring | nil The inner color of the circles. Default is none.
177
+
--- @fieldfillColorstring | ColorEnum | nil The inner color of the circles. Default is none.
178
178
179
179
--- Changes the line into circles.
180
180
--- @paramlineGuidstring Line guid returned by Plot(). Suggestions: Plot
@@ -193,7 +193,7 @@ function PlotCloud(lineGuid1, lineGuid2, opacity) end
193
193
194
194
--- The optional parameters of PlotDoubleColor.
195
195
--- @shape OptionalParametersOf_PlotDoubleColor
196
-
--- @fieldfillColorstring | nil The inner color between the line and the base value. Default is none.
196
+
--- @fieldfillColorstring | ColorEnum | nil The inner color between the line and the base value. Default is none.
197
197
198
198
--- Changes the color of the line based on a base value.
199
199
--- @paramlineGuidstring Line guid returned by Plot(). Suggestions: Plot
@@ -291,11 +291,11 @@ function PlotPivot(leftStrength, rightStrength) end
291
291
--- @shape OptionalParametersOf_PlotPrice
292
292
--- @fieldintervalnumber | number[] | nil The interval which to plot.
293
293
--- @fieldstyleEnum | nil The price plot style.
294
-
--- @fieldupColorstring | nil The outer color of the up candle.
294
+
--- @fieldupColorstring | ColorEnum | nil The outer color of the up candle.
295
295
--- @fieldupFillboolean | nil The inner color of the up candle.
296
-
--- @fielddownColorstring | nil The outer color of the down candle.
296
+
--- @fielddownColorstring | ColorEnum | nil The outer color of the down candle.
297
297
--- @fielddownFillboolean | nil The inner color of the down candle.
298
-
--- @fieldmarkColorstring | nil The outer color of the marked candle.
298
+
--- @fieldmarkColorstring | ColorEnum | nil The outer color of the marked candle.
299
299
--- @fieldmarkFillboolean | nil The inner color of the marked candle.
--- @fieldchartIdnumber | number[] | nil Index on which to plot the line.
327
327
--- @fieldshapeEnum | nil The shape type.
328
-
--- @fieldcolorstring | nil The color of the shape.
328
+
--- @fieldcolorstring | ColorEnum | nil The color of the shape.
329
329
--- @fieldsizenumber | number[] | nil Size of the shape.
330
330
--- @fieldaboveCandleboolean | nil If true, the shape will be drawn above the candle else below.
331
331
--- @fieldtextstring | nil Text above or below the candle or shape.
332
-
--- @fieldtextColorstring | nil The color of the text.
332
+
--- @fieldtextColorstring | ColorEnum | nil The color of the text.
333
333
--- @fieldoffsetnumber | number[] | nil A positive offset will move the data points x number of candles. A negative number will move the data points back.
334
334
335
335
--- Draws a shape above the candle or first line on the chart.
@@ -355,7 +355,7 @@ function PlotShape(chartId, shape, color, size, aboveCandle, text, textColor, of
355
355
356
356
--- The optional parameters of PlotShapes.
357
357
--- @shape OptionalParametersOf_PlotShapes
358
-
--- @fieldfillColorstring | nil The inner color of the circles. Default is none.
358
+
--- @fieldfillColorstring | ColorEnum | nil The inner color of the circles. Default is none.
359
359
360
360
--- Changes the line into a specific shape.
361
361
--- @paramlineGuidstring Line guid returned by Plot(). Suggestions: Plot
@@ -409,8 +409,8 @@ function PlotVerticalZone(chartId, name, color, start, endValue) end
409
409
410
410
--- The optional parameters of PlotVolume.
411
411
--- @shape OptionalParametersOf_PlotVolume
412
-
--- @fieldupColorstring | nil The outer color of the up candle volume bars.
413
-
--- @fielddownColorstring | nil The outer color of the down candle volume bars.
412
+
--- @fieldupColorstring | ColorEnum | nil The outer color of the up candle volume bars.
413
+
--- @fielddownColorstring | ColorEnum | nil The outer color of the down candle volume bars.
414
414
--- @fieldupFillboolean | nil The inner color of the up candle volume bars.
415
415
--- @fielddownFillboolean | nil The inner color of the down candle volume bars.
Copy file name to clipboardExpand all lines: haas-production/hs.charting.def.lua
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,8 @@ function ChangeColorOpacity(color, opacity) end
8
8
9
9
--- The optional parameters of ChartAddAxisLabel.
10
10
--- @shape OptionalParametersOf_ChartAddAxisLabel
11
-
--- @fieldcolorstring | nil The label fill color.
12
-
--- @fieldtextColorstring | nil The text color.
11
+
--- @fieldcolorstring | ColorEnum | nil The label fill color.
12
+
--- @fieldtextColorstring | ColorEnum | nil The text color.
13
13
14
14
--- Adds a label on the y-axis.
15
15
--- @paramchartIdnumber The chart index on which to add the label.
@@ -66,7 +66,7 @@ function ChartSetOptions(chartId, title, height, style) end
66
66
67
67
--- The optional parameters of LineOptions.
68
68
--- @shape OptionalParametersOf_LineOptions
69
-
--- @fieldcolorstring | nil The color of the line.
69
+
--- @fieldcolorstring | ColorEnum | nil The color of the line.
70
70
--- @fieldstyleEnum | nil The style of the line (Spiked, Smooth, Step and others).
71
71
--- @fielddecoEnum | nil The line decoration (Solid, Dashed, Dotted).
72
72
--- @fieldwidthnumber | nil The width of the line.
@@ -116,7 +116,7 @@ function MarkCandle(chartId, depth) end
116
116
117
117
--- The optional parameters of Plot.
118
118
--- @shape OptionalParametersOf_Plot
119
-
--- @fieldcolorOrOptionsany | nil Line options object or a color string.
119
+
--- @fieldcolorOrOptionsany | ColorEnum | nil Line options object or a color string.
120
120
121
121
--- Creates a data line on the chart. The line can be styled accordingly. A positive chartId will place the line below the main price chart. A negative index above.
122
122
--- @paramchartIdnumber Index on which to plot the line.
@@ -138,7 +138,7 @@ function PlotBands(lineGuid1, lineGuid2, fillColor) end
138
138
--- The optional parameters of PlotBars.
139
139
--- @shape OptionalParametersOf_PlotBars
140
140
--- @fieldbaseValuenumber | nil The value from where the bars are drawn. Default is 0.
141
-
--- @fieldfillColorstring | nil The inner color of the bars. Default is none.
141
+
--- @fieldfillColorstring | ColorEnum | nil The inner color of the bars. Default is none.
142
142
143
143
--- Changes a line to bars.
144
144
--- @paramlineGuidstring Line guid returned by Plot(). Suggestions: Plot
@@ -174,7 +174,7 @@ function PlotBuySellZone(chartId, start, endValue) end
174
174
175
175
--- The optional parameters of PlotCircle.
176
176
--- @shape OptionalParametersOf_PlotCircle
177
-
--- @fieldfillColorstring | nil The inner color of the circles. Default is none.
177
+
--- @fieldfillColorstring | ColorEnum | nil The inner color of the circles. Default is none.
178
178
179
179
--- Changes the line into circles.
180
180
--- @paramlineGuidstring Line guid returned by Plot(). Suggestions: Plot
@@ -193,7 +193,7 @@ function PlotCloud(lineGuid1, lineGuid2, opacity) end
193
193
194
194
--- The optional parameters of PlotDoubleColor.
195
195
--- @shape OptionalParametersOf_PlotDoubleColor
196
-
--- @fieldfillColorstring | nil The inner color between the line and the base value. Default is none.
196
+
--- @fieldfillColorstring | ColorEnum | nil The inner color between the line and the base value. Default is none.
197
197
198
198
--- Changes the color of the line based on a base value.
199
199
--- @paramlineGuidstring Line guid returned by Plot(). Suggestions: Plot
@@ -291,11 +291,11 @@ function PlotPivot(leftStrength, rightStrength) end
291
291
--- @shape OptionalParametersOf_PlotPrice
292
292
--- @fieldintervalnumber | nil The interval which to plot.
293
293
--- @fieldstyleEnum | nil The price plot style.
294
-
--- @fieldupColorstring | nil The outer color of the up candle.
294
+
--- @fieldupColorstring | ColorEnum | nil The outer color of the up candle.
295
295
--- @fieldupFillboolean | nil The inner color of the up candle.
296
-
--- @fielddownColorstring | nil The outer color of the down candle.
296
+
--- @fielddownColorstring | ColorEnum | nil The outer color of the down candle.
297
297
--- @fielddownFillboolean | nil The inner color of the down candle.
298
-
--- @fieldmarkColorstring | nil The outer color of the marked candle.
298
+
--- @fieldmarkColorstring | ColorEnum | nil The outer color of the marked candle.
299
299
--- @fieldmarkFillboolean | nil The inner color of the marked candle.
0 commit comments