MCPcopy Create free account
hub / github.com/alicevision/AliceVision / init

Method init

src/dependencies/htmlDoc/htmlDoc.hpp:133–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131 }
132
133 void init(const std::string & sGraphName, int W, int H)
134 {
135 reset();
136 stream
137 << "\n"
138 << "<div id=\"" << sGraphName << "\" class=\"jxgbox\" style=\"width:"<< W << "px; height:" << H <<"px;\"></div>\n"
139 << "<script type=\"text/javascript\">\n"
140 << "var board = JXG.JSXGraph.initBoard('"<< sGraphName <<"', {boundingbox: [-10, 10, 10, -10], axis:true,showCopyright:false});\n"
141 << "board.suspendUpdate();\n";
142 }
143
144 template<typename T>
145 void setViewport(const std::pair< std::pair<T,T>, std::pair<T,T> > & range)

Callers 1

pushXYChartMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected