carlshe commented on issue #18437: URL: https://github.com/apache/echarts/issues/18437#issuecomment-1491282539
Dear helgasoft, Thank you for your quick reply! I use ECharts' stack area map to express the geological profile/section. The geological profile data comes from the sampling analysis of geological boreholes. Each borehole has a spatial location. Generally, the boreholes on the section line are not uniformly distributed on the profile line. But stack area map treats the data of xAxis as discrete quantities (‘category’) uniformly distributed on the x-axis, and then cannot reflect the distance relationship between the boreholes. As follow map shown, there are 3 boreholes located on the profile line, the distance between first and second borehole is 16m, the distance between second and third borehole is 8m. The presented 3 boreholes are uniformly distributed on the xAxis. It will be best the visual interval between second and third is half of that between first and second. Could please help giving a solution for it? Thank you again! Carlshe At 2023-03-30 03:52:48, "helgasoft" ***@***.***> wrote: @carlshe, thank you for pointing that out. I forgot what the documentations says - when "axis.data is specified, the type is auto set as 'category'" I still do not understand why type='value' is needed for your data. Could you provide a data sample to see the problem with "x direction...scaled by x value" ? Geological profiles are interesting, maybe we can come up with a solution. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: ***@***.***> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org