hi @v-bofeng-msft,
I´ve tried using quickchart like this:
"https://quickchart.io/chart?v=3&c="&EncodeUrl("{
type: 'ohlc',
data: {
datasets: [
{
type: 'line',
yAxisID: 'y1',
borderColor: '#f00',
backgroundColor: '#f00',
borderWidth: 2,
pointRadius: 0,
label: 'SMA',
data: [
" & Concat(
SortByColumns(
colParameters,
"FechaDetección",SortOrder.Descending
), "'" & NewColumn & "',"
) & "
].map(([d,y]) => ({x:new Date(d).getTime(),y})),
},
],
},
options: {
scales:{
x:{
adapters: {
date: {
zone: 'UTC'
}
},
time: {
unit: 'minute',
stepSize: 10,
displayFormats: {
day: 'MMM d',
month: 'MMM d',
}
},
},
},
plugins: {
legend: {
display: false,
},
title: {
display: true,
text: 'ChartName',
font: {
size: 20,
},
},
},
},
}")
Since im using a collection I created a new column with the with format it was hard coded
['2016-04-01T07:00:00Z', 18.832],
ClearCollect(
colParameters,
AddColumns(
ShowColumns(
Filter(
SortByColumns(
FORD_Characteristics,
"FechaDetección",
SortOrder.Ascending
),
FechaDetección >= dte_CurrentDate_3.SelectedDate &&
FechaDetección <= DatePickerCanvas2_1.Value &&
cmb_PartNumber.Selected.Value = NoParte &&
cmb_Parameter.Selected.Value = Estación
),
"FechaDetección","Máximo","Minimo","ValorActual","Objetivo"
),
"NewColumn",
Text(FechaDetección, DateTimeFormat.UTC) & ", " & Text(ValorActual, "[$-en-US]0.000")
)
);
This is the collection (It Hast 271 items):

But it´s displaying nothing:
