英文:
Make hAxis label center with respect to graph in React-google-charts (React Js)
问题
我需要将hAxis(x轴)上的数据点居中对齐到vAxis(y轴),我尝试使用textPosition,但它不起作用。
在这里,我需要将日期居中对齐到图表。
感谢您为我花费的时间!
英文:
I need to have centered data points in hAxis(x-axis) with respect to vAxis(y-axis), I tried with textPosition and but it doesn't work.
Here, I have to center the dates with respect to the graph.
Thanks for your minute for me!!!
答案1
得分: 0
我已经自己找到了原因。这是因为我们正在使用的日期,对于日期,我们有结构(2023年,05月,09日)YYYY,MM,DD。如果在发送日期类型时此结构发生变化。就会出现此问题。
英文:
I had found the cause by myself. It's because we have date we are using, For the date we have structure (2023, 05, 09) YYYY, MM, DD. If this structure varies while sending the date type. This issue comes.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论