API Reference
HtmlInteractiveAssetFiles
Provides the interactive runtimes as shared asset files for bundles that reference them through HtmlAssetReferences instead of inlining one copy per page.
Inheritance
- Object
- HtmlInteractiveAssetFiles
Methods
public static IReadOnlyList<HtmlAssetFile> Charts() #IReadOnlyList<HtmlAssetFile>Returns the files referenced by interactive chart and dashboard pages.
public static IReadOnlyList<HtmlAssetFile> GraphExplorer() #IReadOnlyList<HtmlAssetFile>Returns the files referenced by graph explorer pages.
public static HtmlAssetFile TopologyScript(TopologyRenderOptions? options = null) #HtmlAssetFileGets the topology interaction runtime for the given render options. The runtime is specialised to the CSS class prefix, so each prefix produces its own file name.
Parameters
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- The topology render options used for the pages; null uses the defaults.
Returns
The topology runtime file.
public static IReadOnlyList<String> WriteTo(String directory, IEnumerable<HtmlAssetFile> files) #IReadOnlyList<String>Writes asset files into directory (created when missing). Files that already exist with the same content are left untouched, so repeated report runs keep one copy per bundle. New content is written to a temporary file and moved into place, so readers never see a partially written runtime and concurrent runs that write the same content succeed.
Parameters
- directory System.String
- The bundle's asset folder, matching HtmlAssetReferences.BasePath.
- files System.Collections.Generic.IEnumerable<ChartForgeX.Interactivity.Html.HtmlAssetFile>
- The files to write.
Returns
The full paths of the asset files.
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public static HtmlAssetFile ChartStyle { get; } #Gets the stylesheet used by interactive chart and dashboard pages.
public static HtmlAssetFile ChartScript { get; } #Gets the runtime used by interactive chart and dashboard pages.
public static HtmlAssetFile GraphExplorerStyle { get; } #Gets the stylesheet used by graph explorer pages.
public static HtmlAssetFile GraphExplorerScript { get; } #Gets the runtime used by graph explorer pages.