yaooqinn commented on code in PR #44346:
URL: https://github.com/apache/spark/pull/44346#discussion_r1426395557
##########
core/src/main/resources/org/apache/spark/ui/static/structured-streaming-page.js:
##########
@@ -15,18 +15,22 @@
* limitations under the License.
*/
-/* global d3, formattedTimeTipStrings, formattedTimeToValues,
hideBootstrapTooltip, maxMarginLeftForTimeline, showBootstrapTooltip,
unitLabelYOffset */
+export { drawAreaStack };
+import { getMaxMarginLeftForTimeline, hideBootstrapTooltip,
showBootstrapTooltip } from './streaming-page.js';
+/* global, d3 */
// pre-define some colors for legends.
var colorPool = ["#F8C471", "#F39C12", "#B9770E", "#73C6B6", "#16A085",
"#117A65", "#B2BABB", "#7F8C8D", "#616A6B"];
-/* eslint-disable no-unused-vars */
-function drawAreaStack(id, labels, values, minX, maxX, minY, maxY) {
Review Comment:
minX, maxX, minY, maxY removed as we never touch them
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]