it's possible but only with Diagrams backend which is slower.
`
import Graphics.Rendering.Chart.State(EC, execEC)
import Graphics.Rendering.Chart.Easy
import Graphics.Rendering.Chart.Backend.Diagrams
import qualified Diagrams.Backend.SVG as DSVG
import qualified Diagrams.Prelude as D
import qualified Diagrams.TwoD as D2
toSVG :: (Default r,ToRenderable r) => EC r () -> IO String
toSVG ec = do
fontSelector <- _fo_fonts def
let cb = render (toRenderable (execEC ec))(_fo_size def)
let (w, h) = (800 :: Double, 600 :: Double)
let env = createEnv vectorAlignmentFns w h fontSelector
let (d, a) = runBackend env cb
opts = DSVG.SVGOptions (D2.dims2D w h) Nothing T.empty [] True
svg = D.renderDia DSVG.SVG opts d
return $ show svg
`