create_legend Function

public function create_legend() result(legend)

Factory function following Dependency Inversion

Arguments

None

Return Value type(legend_t)