In VisualWorks 7.9, the texture/fill inside Business Graphics charts
is not displayed. Instead, you only see the outline of the charts.
The source of the problem is that method
BG_ChartElement>>setComponent: does not seem to be used anymore.
Instead, the super class’ method GeometricWrapper>>geometric: is used.
While BG_ChartElement>>setComponent: includes the statement “fill :=
aGeometric canBeFilled”, this is missing in
GeometricWrapper>>geometric:.
The missing statement in GeometricWrapper>>geometric: causes #fill to
always have the default value; false.
To correct the problem, simply implement the following:
BG_ChartElement>>geometric: anObject
super geometric: anObject.
fill := anObject canBeFilled
Kind regards,
Runar Jordahl
blog.epigent.com
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc