Interface RepositoryWidgetScriptedChart
public interface RepositoryWidgetScriptedChart
Configured scripted chart widget resource object.
- Since:
- 3.10.2
-
Method Summary
-
Method Details
-
render
Renders a Scripted Chart from the provided resource object.Example:
Use render(null, null) to draw a chart with the maximum possible width and height calculated proportionally to the width.
Use render("50%", null) to draw a chart with a width that is half the available column space and the height calculated proportionally to the width.
Use render("500px", "300px") to a draw chart with a fixed width of 500px and a height of 300px.- Parameters:
width
- the width of the chart in pixels or percent. Use thenull
value to make the chart as wide as possible.height
- the height of the chart in pixels. Use thenull
value to calculate height proportionally to the width.- Returns:
- chart html markup
-