You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the Les Miserables graph example, set the series.symbol as an SVG path. The SVG path used in the reproduction is the factory icon from the mdi library.
Set graph to use 'force' for its layout and add a force configuration
Filter the Les Miserable graph data to only include properties needed, i.e. omit the x and y coordinates
Current Behavior
When an SVG path is used for the symbol property on a chart series of type graph, the thumbnail initialises its zoom incorrectly. The thumbnail shows the graph content as bottom-right and partially zoomed out.
Expected Behavior
The thumbnail should show the graph content as centered and not zoomed out.
Version
6.0.0
Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=graph-force&renderer=svg&code=dVVdb9owFH3vr_DDpoDGIMmAIqpOmtpJTAIxrR0Pm6bJSUxw59iZ40BpxX_f9UeIoV0eEvvc4-Tec66dN_2cqM635fL-99dP9zP0DgWDDCs8wFVFlB0yUr0vaEUkTmDYf6gED3poXfNUUcFRR-LdLfC66PkCoVTwSqFc4nKjQXRtUIS4yEg1RY7bN9N-gctORw-76Poj6lgmQjSbGn6fZj0HVfsiEeyOPhEXaoGGwnHRBPWwgVOsSC7k3oWaaRPeYlY3y8zY4Idu1xIcnfq5t5jlMMr_eGEzhcDhCm6iNBo1KiiqGHytKVSRRzVFwZxUaHEUODjWXCeOcEvWuGYKMbwXtToSlCghmAilRHEEGVnrJZLmGxXYYmxICcEUhRXPDmAkJxyk_ulWNlkhpG2ftiZ6FRvLWuud6c0liaolR2AvGKDLt9eh64YH8_xlP485LbB-zW0tzXOKolEYngU_44ry_HsJKYFwwd-ackXTL3x51AF0M_a8LMN2xP_kBUX2pY6bOj3Y6jITWyLn4OUUrTGrjv0EceMCLFwLmRJv4WDg-hRiSlLMc-aHXczTKyix2kwHg8WwF01WcTibrKLJbKinw1U0nun7EOZR6OIamMyicBGNHSUONSUaG8RwNAKc8SLuxfFqMr_sRfoRxe6p5_No0otncTSPDRrD-IeX6bn_Zrd6AtiGb-MGaOP-pnmtiVrm0eYXIkuBiylSsj7D7qGxcyK1bUwkmHlZPwkBSyJP8BQzMqcFBbP8Ni3wI_AuWyJAVLdf27G-2wkBQ_31paioTdptM_9N0BRQkjIpPicHuwXP3mka5_SdJMvJnPAc-gHFbhM0m6qsWWU-NzoJgLRbquBgC_ujkwwkNdtTB14tCddK3NRySzipwKJTkUlRbmDPAe6ntxZpDVCAswecEp7uT2oG_8md2vtHm712NNMFRaGH2kPAH50cC2pTFwnH1NPcvSWIRm-Pn90QrfwZuKM8E7sXmaSCCW2HzBPciYZhD8WwG1AMcmrtul4tiZAZkTf-gg_AGg970DAjTb_06aLEqbGg0dmWou_m-C_2NxssVR_-pUvzJ-jYH0L36uLQvfoH&enc=deflate
Steps to Reproduce
graphexample, set theseries.symbolas an SVG path. The SVG path used in the reproduction is the factory icon from the mdi library.layoutand add aforceconfigurationCurrent Behavior
When an SVG path is used for the symbol property on a chart series of type graph, the thumbnail initialises its zoom incorrectly. The thumbnail shows the graph content as bottom-right and partially zoomed out.
Expected Behavior
The thumbnail should show the graph content as centered and not zoomed out.
Environment
Any additional comments?
No response