SWI-Prolog/swish

c3 renderer truncating data

Opened this issue · 0 comments

Created a c3 rendered chart with a fair amount of data in it.

Choose 'copy' from the rendering drop down with the 'as C3 chart' button selected

paste somewhere. You get a prolog term
EXPECTED: valid SVG
OBSERVED: Prolog dict, human representation, not a readable form. Example, it has ellipsis:

6276, 105.63055817291146, 105.95164305666417, 105.42963592187296, 104.26110091440974, 103.05105134628997, 105.60722422755956, 107.18927116178943, 109.07856999541151, 109.85423943003528, 109.9815569320053, 109.91922504761541, 108.01862661246427, 107.97828797962005, 109.91682405426118, 110.41870323349337, 109.64164706504127, 106.47924828815378, 106.92288233703063, 103.7930730203126, 102.81301304105837, 102.1603324899903, 101.8105846114736|...]],

This is really two issues - first, it's not SVG. Second, it's not even valid Prolog term.