title: How to set the text attributes of the individual data labels in an Excel Sunburst Chart through Apache POI?
body: <p>In this <a href="https://stackoverflow.com/questions/52324851/how-to-change-the-graphical-attributes-of-a-point-in-an-excel-sunburst-chart-thr">post</a> a solution was provided to set the graphical attributes of the data points.</p>
  
  <p>I now need to access the individual data point labels and change the text attributes as well. My priority is to adjust the font size, however, the ability to adjust other attributes (e.g. font, bold, italic, alignment, etc) as well would be useful. This method sets the data point fill colour. What needs to be added to set the font size of the data label for that data point?</p>
  
  <pre><code>private static void setDataPointColor(XmlObject series, int number, String colorHex) {
      XmlCursor cursor = series.newCursor();
      cursor.toLastChild();
      cursor.beginElement(new QName("http://schemas.microsoft.com/office/drawing/2014/chartex", "dataPt", "cx"));
      cursor.insertAttributeWithValue("idx", "" + number);
      cursor.beginElement(new QName("http://schemas.microsoft.com/office/drawing/2014/chartex", "spPr", "cx"));
      cursor.beginElement(new QName("http://schemas.openxmlformats.org/drawingml/2006/main", "solidFill", "a"));
      cursor.beginElement(new  Name("http://schemas.openxmlformats.org/drawingml/2006/main", "srgbClr", "a"));
      cursor.insertAttributeWithValue("val", colorHex);
  
      cursor.dispose();
  }
  </code></pre>