curveStepAbove, curveStepBelow?

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
d3, javascript

調査の方向性

The issue proposes curveStepOutside and includes a sketch of its lineStart, lineEnd, and point methods, but names no repository files or tests. Read the curve implementations and tests for curveStepAfter to understand how a new curve is added; then determine whether this step-outside behavior belongs in the API and how to test the halo use case.

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

説明

Useful for drawing a halo around an area that uses d3.curveStepAfter:

function curveStepOutside(context) {
  var y0, i;
  return {
    lineStart: function() { y0 = NaN, i = 0; },
    lineEnd: function() {},
    point: function(x, y) {
      x -= y0 > y ? +0.5 : -0.5, y -= 0.5;
      if (++i === 1) context.moveTo(x, y0 = y);
      else context.lineTo(x, y0), context.lineTo(x, y0 = y);
    }
  };
}

As seen in Mona Lisa Histogram.

主要言語
JavaScript
スター
2.5k
フォーク
307
平均マージ
4時間 16分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

d3/d3-shape のほかの issue

d3/d3-shape の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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