l0.PartOf, jfreechart);\r
\r
Resource domainAxis = GraphUtils.create2(g, jfree.NumberAxis,\r
- l0.HasName, "NumberAxis" + UUID.randomUUID().toString());\r
+ l0.HasName, "NumberAxis" + UUID.randomUUID().toString(),\r
+ jfree.variableRVI, "/time",\r
+ l0.HasLabel, "Time");\r
Resource rangeAxis = GraphUtils.create2(g, jfree.NumberAxis,\r
l0.HasName, "NumberAxis" + UUID.randomUUID().toString(),\r
l0.HasLabel, "");\r
/**\r
* Handler for creating a new XYLineChart in model browser\r
* @author Teemu Lempinen\r
+ * @author Tuomas Miettinen\r
*\r
*/\r
public class NewXYLineChartHandler extends AbstractHandler {\r
l0.PartOf, jfreechart);\r
\r
Resource domainAxis = GraphUtils.create2(g, jfree.NumberAxis,\r
- l0.HasName, "NumberAxis" + UUID.randomUUID().toString());\r
+ l0.HasName, "NumberAxis" + UUID.randomUUID().toString(),\r
+ jfree.variableRVI, "/time",\r
+ l0.HasLabel, "Time");\r
Resource rangeAxis = GraphUtils.create2(g, jfree.NumberAxis,\r
l0.HasName, "NumberAxis" + UUID.randomUUID().toString(),\r
l0.HasLabel, "Y-axis");\r