更新时间:2023-11-21 21:48:46
您需要组合多个元素以获得所需的效果:
You'll need to combine several elements to get the desired effect:
以此处.
使用
Use a DateAxis
for the domain axis, as shown here.
在域轴上使用setDateFormatOverride()
来应用您的SimpleDateFormat
.
Use setDateFormatOverride()
on the domain axis to apply your SimpleDateFormat
.
使用
Use a SymbolAxis
for the range axis to replace integer values with your symbols, as shown here and here.