| | |
| | | } |
| | | line(sb, MessageFormat.format("[{0}, {1}] ", value.name, Float.toString(value.value))); |
| | | } |
| | | line(sb, MessageFormat.format(" ], label : ''{0}'', lines : '{' show : true '}', color: ''#ff9900'' '}'", valueName)); |
| | | line(sb, MessageFormat.format(" ], label : \"{0}\", lines : '{' show : true '}', color: ''#ff9900'' '}'", valueName)); |
| | | |
| | | if(highlights.size() > 0){ |
| | | // get the highlights |
| | |
| | | } |
| | | line(sb, MessageFormat.format("[{0}, {1}] ", value.name, Float.toString(value.value))); |
| | | } |
| | | line(sb, MessageFormat.format(" ], label : ''{0}'', points : '{' show : true, fill: true, fillColor:''#002060'' '}', color: ''#ff9900'' '}'", valueName)); |
| | | line(sb, MessageFormat.format(" ], label : \"{0}\", points : '{' show : true, fill: true, fillColor:''#002060'' '}', color: ''#ff9900'' '}'", valueName)); |
| | | } |
| | | line(sb, "]"); |
| | | |
| | | // Add the options |
| | | line(sb, ", {"); |
| | | if(title != null && title.isEmpty() == false){ |
| | | line(sb, MessageFormat.format("title : ''{0}'',", title)); |
| | | line(sb, MessageFormat.format("title : \"{0}\",", title)); |
| | | } |
| | | line(sb, "mouse: {"); |
| | | line(sb, " track: true,"); |