Component: System.Collections.Generic.List`1[System.String]

Hi
This code work fine in c# component but when i compile it i get this message

  {
    Receive(Component);
    data = chart;
  }

  // <Custom additional code> 

  bool registered = false;
  IGH_Component comp = null;
  string[] chart;

  void Receive(IGH_Component component)
  {
    if(!registered)
    {
      Rhino.Runtime.HostUtils.RegisterNamedCallback("ChartsValues", RiRhino);
      comp = component;
      registered = true;
    }
  }

  void RiRhino(object sender, Rhino.Runtime.NamedParametersEventArgs args)
  {
    string[] values_;
    if (args.TryGetStrings("charts", out values_))
    {
      chart = values_;
    }
    comp.ExpireSolution(true);
  }

I tried to use ToList, ToArray, RhinoList … nothing work

This work but the output is combined list

            pManager.AddTextParameter("Charts Datas", "Datas", "Charts Datas", GH_ParamAccess.list);

        protected override void SolveInstance(IGH_DataAccess DA)
        {
            bool on = false;
            if (!DA.GetData(0, ref on)) return;
            if (on.ToString() == null) return;

            try
            {
                Receive();
                DA.SetData(0, string.Join(Environment.NewLine, chart));

I just noticed this, it must be DA.SetDataList