How to set the background transparent of a chart and display labels in the axis

To make it transparent:

lv_obj_set_style_local_bg_opa(chart, LV_CHART_PART_BG, LV_STATE_DEFAULT, LV_OPA_TRANSP);          

For the labels, why not simply create lv_labels?