feat(dropshadow): add drop shadow support (#9331)

Co-authored-by: André Costa <andre_miguel_costa@hotmail.com>
This commit is contained in:
Gabor Kiss-Vamosi
2026-01-08 16:04:21 +01:00
committed by GitHub
co-authored by André Costa
parent 918e480c66
commit bb3233b794
60 changed files with 2483 additions and 930 deletions
@@ -27,6 +27,11 @@ void lv_example_chart_1(void)
ser2_y_points[i] = (int32_t)lv_rand(50, 90);
}
lv_obj_set_style_drop_shadow_opa(chart, 255, LV_PART_ITEMS);
lv_obj_set_style_drop_shadow_offset_x(chart, 0, LV_PART_ITEMS);
lv_obj_set_style_drop_shadow_radius(chart, 20, LV_PART_ITEMS);
/* Drop shadow color follows each series color automatically,
* so no manual override is needed. */
lv_chart_refresh(chart); /*Required after direct set*/
}