Login  Register

Re: Trying to load ChartJs into GemStone

Posted by GLASS mailing list on May 08, 2018; 7:55pm
URL: https://forum.world.st/Trying-to-load-ChartJs-into-GemStone-tp5075839p5076163.html

Why not just use http://highcharts.com?

the wrapper is here: http://smalltalkhub.com/#!/~Mercap/HighchartsSt 

it works on GemStone today.   What does chartjs have that highcharts does
not?


For Traits I think you have to flatten the traits by saving the package as
an mcz file, which converts the traits to extensions on the class they're
used in,  and then load the mcz into GemStone.  IIRC
filetree/cypress/iceberg doesn't do that for you.  








GLASS mailing list wrote

> Hi,
>
> There is another problem with Stylesheet dependence. Because it user Pharo
> Traits not supported in GemStone.
>
> Gofer new
>       url: 'http://smalltalkhub.com/mc/RMoD/Stylesheet/main';
>       package: 'ConfigurationOfStylesheet';
>       load.
> (ConfigurationOfStylesheet project version: #stable) load.
> a UserDefinedError occurred (error 2318), reason:halt, unsupported on
> GemStone
>
> UserDefinedError (AbstractException) >> _signalWith: @6 line 25
> UserDefinedError (AbstractException) >> signal @2 line 47
> MCTraitDefinition (Object) >> error: @6 line 7
> MCTraitDefinition >> load @2 line 2
> MCTraitDefinition (MCDefinition) >> loadOver: @2 line 2
> MCTraitDefinition (MCClassDefinition) >> errorLoadOver: @2 line 4
> [] in MCPackageLoader >> basicLoad @62 line 14
> ExecBlock0 (ExecBlock) >> on:do: @3 line 44
> [] in MCPackageLoader >> basicLoad @57 line 15
> ExecBlock0 (ExecBlock) >> on:do: @3 line 44
> [] in MCPackageLoader >> basicLoad @53 line 19
> OrderedCollection (Collection) >> do: @6 line 10
> OrderedCollection (Collection) >> do:displayingProgress: @2 line 3
> [] in MCPackageLoader >> basicLoad @25 line 13
> ExecBlock0 (ExecBlock) >> on:do: @3 line 44
> [] in MCPackageLoader >> basicLoad @16 line 49
> ExecBlock0 (ExecBlock) >> ensure: @2 line 12
> MCPackageLoader >> basicLoad @12 line 51
> [] in MCPackageLoader >> loadWithNameLike: @13 line 4
> [] in MCPackageLoader >> useChangeSetNamed:during: @14 line 9
> ExecBlock0 (ExecBlock) >> ensure: @2 line 12
> MCPackageLoader >> useChangeSetNamed:during: @10 line 9
> MCPackageLoader >> useNewChangeSetNamedLike:during: @3 line 2
> MCPackageLoader >> loadWithNameLike: @7 line 4
> MCVersionLoader >> load @10 line 6
> MetacelloGoferLoad (GoferLoad) >> execute @6 line 3
> [] in MetacelloCommonMCSpecLoader >> loadPackageDirective:gofer: @47 line
> 17
> [] in MetacelloCommonMCSpecLoader >> loadPackageDirective:gofer: @24 line
> 21
> MetacelloGemStonePlatform (MetacelloPlatform) >> do:displaying: @2 line 3
> MetacelloLoadingMCSpecLoader (MetacelloCommonMCSpecLoader) >>
> loadPackageDirective:gofer: @8 line 5
> MetacelloLinearLoadDirective (MetacelloVersionLoadDirective) >>
> loadPackageDirective:gofer: @4 line 4
> MetacelloPackageLoadDirective >> loadUsing:gofer: @2 line 3
> [] in MetacelloVersionLoadDirective >> loadLinearLoadDirective:gofer: @9
> line 3
> OrderedCollection (Collection) >> do: @6 line 10
> MetacelloLinearLoadDirective (MetacelloVersionLoadDirective) >>
> loadLinearLoadDirective:gofer: @4 line 3
> MetacelloLinearLoadDirective >> loadUsing:gofer: @6 line 4
> [] in MetacelloVersionLoadDirective >> loadLinearLoadDirective:gofer: @9
> line 3
> OrderedCollection (Collection) >> do: @6 line 10
> MetacelloLinearLoadDirective (MetacelloVersionLoadDirective) >>
> loadLinearLoadDirective:gofer: @4 line 3
> MetacelloLinearLoadDirective >> loadUsing:gofer: @6 line 4
> MetacelloLinearLoadDirective (MetacelloVersionLoadDirective) >>
> loadWithPolicy: @8 line 7
> MetacelloLoaderPolicy >> load @6 line 4
> MetacelloFetchingMCSpecLoader >> doLoad @4 line 3
> [] in MetacelloMCVersion >> doLoadRequiredFromArray: @41 line 12
> MetacelloGemStonePlatform (MetacelloPlatform) >> do:displaying: @2 line 3
> [] in MetacelloMCVersion >> doLoadRequiredFromArray: @32 line 12
> ExecBlock0 (ExecBlock) >> ensure: @2 line 12
> MetacelloMCVersion >> doLoadRequiredFromArray: @23 line 16
> MetacelloMCVersion >> load @4 line 3
> Executed Code  @4 line 1
> GsNMethod class >> _gsReturnToC @1 line 1
>
>
>
>
> --
> Sent from: http://forum.world.st/GLASS-f1460844.html
> _______________________________________________
> Glass mailing list

> Glass@.gemtalksystems

> http://lists.gemtalksystems.com/mailman/listinfo/glass





--
Sent from: http://forum.world.st/GLASS-f1460844.html
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass