Good Morning
Yes, this works in the latest version.
Thanks a lot.
Jorge Magalhães
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.n
On 23/07/2021 23:56, Jorge Manuel wrote:
I tried this code, but it didn't work. This is not my day.
Using the latest version made it work here.
.F
___
If your question is of interest to others as well, please ad
Dear Hans
I tried this code, but it didn't work. This is not my day.
%%%
\starttext
\startluacode
document.samples = {
{ 10, 30, 30, 40, 50 }
}
function document.dados()
return { { 10, 30, 30, 40, 50 }}
end
\stopluacode
\startMPcode
draw lmt_chart_bar [
samples = "table.lo
On 7/23/2021 11:07 AM, Jorge Manuel wrote:
Dear Sirs
If I tried:
\starttext
\startluacode
sample = {10,30,30,40}
function MP.GetP()
mp.print(sample)
end
\stopluacode
\startMPcode
draw lmt_chart_bar [
width = 8cm,
height = 10mm,
samples = {lua.MP.GetP()} ,
trace = true,
maximum
Dear Sirs
If I tried:
\starttext
\startluacode
sample = {10,30,30,40}
function MP.GetP()
mp.print(sample)
end
\stopluacode
\startMPcode
draw lmt_chart_bar [
width = 8cm,
height = 10mm,
samples = {lua.MP.GetP()} ,
trace = true,
maximum = 100,
linewidth = 1mm,
showlabels = false,
origi