org.datacleaner.visualization.ScatterAnalyzerChartScriptHeadElement.scala Maven / Gradle / Ivy
package org.datacleaner.visualization
import org.datacleaner.result.html.{HeadElement, HtmlRenderingContext}
import scala.collection.JavaConverters._
/**
* Head element that writes a script specific to the rendering of a single result
*/
class ScatterAnalyzerChartScriptHeadElement(result: IScatterAnalyzerResult, elementId: String) extends HeadElement {
override def toHtml(context: HtmlRenderingContext): String = {
val dataId = "data" + elementId;
return """
"""
}
}