Annotations
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- java
調査の方向性
まず CategoryStyler のエントリーポイントと、レポートに示されている setHasAnnotations(true) の呼び出しを確認し、利用可能な API と使用されているチャートの種類を比較します。この styler にそのメソッドが存在するかを確認し、期待されるアノテーションの動作を特定します。報告されたコードに文書化されたサポート対象の経路があるか、または制限事項が明確に記録されていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Hy I tried to use setHasAnnotations but have an error..
This is my code
// Create Chart
CategoryChart chart = new CategoryChartBuilder().width(800).height(600).title("Score Histogram").xAxisTitle("Score").yAxisTitle("Number").build();
// Customize Chart
chart.getStyler().setLegendPosition(LegendPosition.OutsideE);
chart.getStyler().setLegendVisible(false);
//Setta il titolo "vuoto" e anche delle serie
chart.setTitle("");
chart.setXAxisTitle("");
chart.setYAxisTitle("");
//Set background color area esterna al grafico
Color b = new Color(235,235,235);
chart.getStyler().setChartBackgroundColor(b);
//Set background color area interna al grafico
chart.getStyler().setPlotBackgroundColor(b);
//Setta la doppia riga dei dati ad invisible
chart.getStyler().setAxisTicksLineVisible(false);
//Setta visible o meno i dati di riferimenento delle serie
//chart.getStyler().setAxisTicksVisible(false);
//Setta visible il bordo esterno del grafico
chart.getStyler().setPlotBorderVisible(false);
//Setta invisible le righette interne al grafico
chart.getStyler().setPlotGridLinesVisible(false);
Color[] c = new Color[] {new Color(82,148,165)};
chart.getStyler().setSeriesColors(c);
//Setta il colore del testo delle scritte in x e y
Color t = new Color(64,65,66);
chart.getStyler().setAxisTickLabelsColor(t);
//Setta il font del testo delle scritte in x e y
chart.getStyler().setAxisTickLabelsFont(new Font("Segoe Ui", 0, 11));
chart.getStyler().setHasAnnotations(true);
// Series
chart.addSeries("test 1", Arrays.asList(new String[] { "Rep1", "Rep2", "Rep3", "Rep4", "Rep5" }), Arrays.asList(new Integer[] { 4, 5, 9, 6, 5 }));
This line chart.getStyler().setHasAnnotations(true); gives me the error "The method setHasAnnotations(boolean) is undefined for the type CategoryStyler" and suggests me to CAST to chart.getStyler()
Any idea ?
Thks
- 主要言語
- Java
- スター
- 1.6k
- フォーク
- 400
- 平均マージ
- 3日 1時間
- マージ済み PR(30日)
- 5
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
knowm/XChart のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
`CategoryChart.addSeries` could support additional call signature for interoperability with Scalaオープン
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
Aesthetics Feature Request
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
Feature Request
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
How-To Question
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ahmedmmordi/store-app#8 ·
-
jhipster heroku fails on heroku git:remote when reusing an existing app outside a git repositoryオープンarea: triage theme: undefined
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
jhipster/generator-jhipster#36018 ·
メンテナーはふだん 1 日以内に返信
-
component/zeebe kind/feature scope/broker
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信