xdev-software / chartjs-java-model

Provides Java models for Chart.js
Apache License 2.0
11 stars 6 forks source link

Please add the missing attributes in AbstractTickOptions #185

Closed dengbingaliyun closed 3 months ago

dengbingaliyun commented 3 months ago

Checklist

Description

There are 3 missing attrributes in version 2.0.x .Please update it in the future version.

    protected Object fontColor;
    protected Boolean offset;
    protected Boolean beginAtZero;

Additional information

No response

AB-xdev commented 3 months ago

Thank you for the issue.

However these options are not present in the docs nor inside the source code.

For example beginAtZero was renamed when ChartJS 3.x was released.

Could you please let me know where you got the information from that they should be inside there?

dengbingaliyun commented 3 months ago

I saw your link, you are right. I was referenced by pf APIs. Please ignore the "beginAtZero".

AB-xdev commented 3 months ago

Okay, I think we can close the issue then or?

dengbingaliyun commented 3 months ago

How about fontColor and offset?

AB-xdev commented 3 months ago

Neither of them are inside the source code or docs.

dengbingaliyun commented 3 months ago

I've tested color and fontColor ,they are different . The fontColor refer to the color of tick .Please see the picture. QQ截图20240614150508

dengbingaliyun commented 3 months ago

Thanks!