Hola a todos,
Actualmente estoy escribiendo un guión que, eventualmente, genera gráficos.En estos gráficos, agrego 6 líneas de referencia.2 de ellos simplemente no se mostrarán:
vlbCharts << Append(
Control Chart Builder(
Size(800, 500), // Chart size
Show Two Shewhart Charts(0),
Show Control Panel(0),
Show Excluded Region(0),
Show Limit Summaries(0),
Show Capability(0),
Variables(Subgroup(:BatchPrefix), Y(:Value)),
Chart(
Points(Statistic("Individual")),
Limits(Sigma("Moving Range" ), Show Limits(0))
),
SendToReport(
Dispatch(
{},
"Control Chart Builder",
OutlineBox,
{Set Title(sProduct || ": " || sComponent)}
), // Chart title
Dispatch(
{},
"Value",
ScaleBox,
{Min(nMinValue), Max(nMaxValue), Inc(nTicks), Minor Ticks(0),
Add Ref Line(nLSL, "Solid", "Medium Light Orange", "LSL", 1), // Not shown
Add Ref Line(nUSL, "Solid", "Medium Light Orange", "USL", 1), // Not shown
Add Ref Line(nLCL, "Solid", "Medium Dark Red", "LCL", 1),
Add Ref Line(nUCL, "Solid", "Medium Dark Red", "UCL", 1),
Add Ref Line(nLCL_Calc, "Solid", "Dark Blue", "LCL_Calc", 1),
Add Ref Line(nUCL_Calc, "Solid", "Dark Blue", "UCL_Calc", 1)}
),
Dispatch(
{},
"graph display 1 title",
TextEditBox,
{Set Text("")}),
Dispatch(
{},
"Control Chart Builder",
FrameBox,
{DispatchSeg(Line Seg(1), {Line Color("Black")} )}
)
)
);
);
El problema es la etiqueta "LSL" y "USL".Cuando cambio estos a otra cosa (por ejemplo, "EE.UU." y "LS"), se mostrarán las líneas:
Agregar línea de referencia (nLSL, "Sólido", "Naranja claro medio",<STRONG> "LS"</STRONG> , 1), // se muestra en el gráfico
Agregar línea de referencia (nUSL, "Sólido", "Naranja claro medio",<STRONG> "NOSOTROS"</STRONG> , 1), // se muestra en el gráfico
¿Hay alguna forma de que pueda usar LSL y USL como etiquetas?
Gracias,
ene
Esto parece ser un error en la plataforma del generador de gráficos de control, ya que funciona manualmente pero no en el código. Puedo reproducir el problema en JMP 16 EA8 y he enviado un informe de error.