code: def test_build_agg_data():
      with pytest.raises(NotImplementedError):
          chart_utils.build_agg_data(
              None, None, None, None, "rolling", z="z"
          )
      with pytest.raises(NotImplementedError):
          chart_utils.build_agg_data(None, None, None, None, "corr")
  
file_path: dtale/tests/dtale/test_charts.py
imports: import pandas
  import pytest
  import dtale.charts.utils
  from dtale.constants import CHART_JOINER_CHAR
label_desc: Use image node_id 4 for calling a global function with example usage: test_build_agg_data() without return types