Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

> 50 bubble charts produce corrupt chart SVG

オープン
#641 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript, node.js

調査の方向性

ドキュメント化された highcharts-export-server コマンドを使用して not_working.json のエクスポートを再現し、その SVG を working.json の結果と比較します。バブルチャートを担当する SVG エクスポートパスを追跡し、出力で xlink 名前空間が定義され、51 個すべてのバブルが破損なく含まれていることを確認します。

索引モデルが issue の本文から書いたものです。

説明

Expected behaviour

All 51 bubbles should be displayed without error.

Actual behaviour

The export server produces a corrupt SVG. When opening the file, following error is displayed:

error on line 44 at column 7087: Namespace prefix xlink for href on image is not defined

If I fix it by adding xmlns:xlink="http://www.w3.org/1999/xlink" to the svg tag, the image is displayed without an error. But no bubbles are shown.

Additional info

Base config structure used:

{
    "chart": {
        "type": "bubble",
        "plotBorderWidth": 1,
        "zooming": {
            "type": "xy"
        }
    },
    "title": {
        "text": "Highcharts Bubbles Sizing"
    },
    "subtitle": {
        "text": "Smallest and largest bubbles are equal, intermediate bubbles different."
    },
    "xAxis": {
        "gridLineWidth": 1
    },
    "yAxis": {
        "startOnTick": false,
        "endOnTick": false
    },
    "series": [
        {
            "data": [
                [
                    5,
                    5,
                    5
                ]
            ],
            "sizeBy": "area",
            "name": "Size by area"
        },
    ]
}

Command used:

highcharts-export-server --logToFile false --allowCodeExecution -nologo true -type=svg  -outfile /tmp/out.svg -infile /tmp/in.json  --logLevel 4
Files used

not_working.json
Image
Image
working.json
Image

主要言語
JavaScript
スター
368
フォーク
265
PR マージ指標
30日以内にマージされた PR はありません

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

highcharts/node-export-server のほかの issue

highcharts/node-export-server の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。