code: def graph_wrapper(modal=False, export=False, **kwargs):
      global CHART_IDX
  
      curr_style = kwargs.pop("style", None) or {}
      if modal or export:
          id = "{}-chart".format("modal" if modal else "export")
          return dcc.Graph(
              id=id,
              style=dict_merge({"height": "100%"}, curr_style),
              **kwargs,
          )
  
      CHART_IDX += 1
      graph = dcc.Graph(
          id="chart-{}".format(CHART_IDX),
          style=dict_merge({"height": "100%"}, curr_style),
          **kwargs,
      )
      graph.figure["id"] = "chart-figure-{}".format(CHART_IDX)
      click_data_store = dcc.Store(
          id="chart-click-data-{}".format(CHART_IDX)
      )
      return [graph, click_data_store, build_drilldown_modal(CHART_IDX)]
  
file_path: dtale/dtale/dash_application/layout/utils.py
imports: import dash_bootstrap_components
  from dtale.dash_application import dcc, html
  from dtale.translations import text
  from dtale.utils import dict_merge, classify_type, flatten_lists, make_list
  from dtale.charts.utils import INDEX_COL
  from dtale.constants import CHART_JOINER_CHAR
label_desc: Use image node_id 9 for calling a global function with example usage: graph_wrapper(modal, export) and returns: list, dcc