_EstimateMaxLegendCount
int32 maxLegends = _EstimateMaxLegendCount(view, maxSize, &hSpacing,
int32 maxLegends = _EstimateMaxLegendCount(view, fFrame.Size(),
int32 _EstimateMaxLegendCount(BView* view, BSize size,