你好,
我在将日志导出为 HTML 时遇到问题。日志/图表编辑器显示正常,错误出现在 HTML 保存阶段。最终结果如下所示:*请参见附件 image.png*。
以下是一个代码示例:
(<
qwert = Graph Builder(
Show Control Panel( 0 ),
Variables( X( dtqwert:qwert Date ), Y( dtqwert:qwertYield ), Overlay( dtqwert:qwert ) ),
Elements( Points( X, Y, Legend( 9 ) ), Smoother( X, Y, Legend( 10 ), Lambda( 2.8 ) ) ),
SendToReport(
Dispatch( {}, "graph title", TextEditBox, {Set Text( "qwert Trend" )} ),
Dispatch( {}, "Y title", TextEditBox, {Set Text( "qwert Yield" )} )
)
);
dtqwertCounts = dtqwert << Summary(
Group( dtqwert:ID, dtqwert:date, dtqwert:qwert ),
N,
Freq( "None" ),
Weight( "None" )
);
TXqwertCounts = Graph Builder(
Show Control Panel( 0 ),
Variables( X( dtqwertCounts:date ), Overlay( dtqwertCounts:qwert ) ),
Elements( Bar( X, Legend( 3 ) ) ),
SendToReport( Dispatch( {}, "graph title", TextEditBox, {Set Text( "Counts by date" )} ) )
);
qwertJournal = New Window( "qwert", <
<JOURNAL>
)
</JOURNAL>
结果缺少刻度和图例数据,而且颜色过于杂乱。如果有人能指导我如何解决这个问题或指出错误之处,我将不胜感激。