简体   繁体   English

jqPlot轴和图例无法在导出的图像中正确呈现

[英]jqPlot axes and legend is not rendering properly in exported image

my jqPlot is rendering properly but when it is exported as an image, the axes text and legend labels are not rendered properly in the image. 我的jqPlot可以正确渲染,但是当将其导出为图像时,轴文本和图例标签不能在图像中正确渲染。 The text is moving right. 文本向右移动。

Here is my actual plot 这是我的真实情节

实际情节

Here is the exported image 这是导出的图像

在此处输入图片说明

Is it possible to apply some CSS to fix this? 是否可以应用一些CSS来解决此问题?

Thanks a lot. 非常感谢。

通过将text-align:left css应用于图形容器div来修复此问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM