<commit_before>import _ from "lodash";
import * as React from "react";
import {observer, Observer} from "mobx-react";
import bind from "bind-decorator";
import {computed, observable} from "mobx";
import CBIOPORTAL_VICTORY_THEME from "../../theme/cBioPoralTheme";
import Timer = NodeJS.Timer;
import {VictoryChart, VictoryAxis, VictoryBar, VictoryScatter, VictoryLegend, VictoryLabel} from "victory";
import { makeScatterPlotSizeFunction as makePlotSizeFunction } from "./PlotUtils";
import WaterfallPlotTooltip from "./WaterfallPlotTooltip";
import { tickFormatNumeral } from "./TickUtils";
import { IAxisLogScaleParams, waterfallSearchIndicatorAppearance, limitValueAppearance, IValue1D } from 'pages/resultsView/plots/PlotsTabUtils';
import { truncateWithEllipsis, textTruncationUtils } from "cbioportal-frontend-commons";

// TODO make distinction between public and internal interface for waterfall plot data
export interface IBaseWaterfallPlotData extends IValue1D {
    order?:number|undefined;
    offset?:number;
    fill?:string;
    fillOpacity?:number;
    stroke?:string;
    strokeOpacity?:number;<commit_msg>Remove obsolete import<commit_after>import _ from "lodash";
import * as React from "react";
import {observer, Observer} from "mobx-react";
import bind from "bind-decorator";
import {computed, observable} from "mobx";
import CBIOPORTAL_VICTORY_THEME from "../../theme/cBioPoralTheme";
import Timer = NodeJS.Timer;
import {VictoryChart, VictoryAxis, VictoryBar, VictoryScatter, VictoryLegend, VictoryLabel} from "victory";
import { makeScatterPlotSizeFunction as makePlotSizeFunction } from "./PlotUtils";
import WaterfallPlotTooltip from "./WaterfallPlotTooltip";
import { tickFormatNumeral } from "./TickUtils";
import { IAxisLogScaleParams, waterfallSearchIndicatorAppearance, limitValueAppearance, IValue1D } from 'pages/resultsView/plots/PlotsTabUtils';
import { textTruncationUtils } from "cbioportal-frontend-commons";

// TODO make distinction between public and internal interface for waterfall plot data
export interface IBaseWaterfallPlotData extends IValue1D {
    order?:number|undefined;
    offset?:number;
    fill?:string;
    fillOpacity?:number;
    stroke?:string;
    strokeOpacity?:number;
{'fraction_non_alphanumeric': 0.09816225907664725, 'fraction_numerical': 0.0017929179740026895, 'mean_word_length': 6.54054054054054, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5822273', 'n_tokens_mistral': 656, 'n_tokens_neox': 624, 'n_words': 174}