GithubHelp home page GithubHelp logo

chart's People

Contributors

fkm avatar semantic-release-bot avatar

Watchers

 avatar  avatar

chart's Issues

Fix dataset order in tooltip

  • Circles: Vertically lowest dataset (shape) should have the highest z-index.
  • List: Vertical order of list should match that of the shapes.

Make tooltip work with scaleBand

Currently, the tooltip uses linear scaling and therefore has some ugly behavior when used with bars.

This will probably be a bigger change around the x-axis and touch the scaling of all elements.

Draw axis labels

If provided in the configuration the chart should show a label and unit along both y-axes.

Temperatur (°C), Niederschlag (mm), ...

Implement zooming and explorer

Explorer as seen in Google financial charts.

The explorer should also also support panning and be usable without zoom.

As the explorer will span a long time, it would probably be best to limit the displayed data to one line set.

Implement panning

The config should provide the time range that should be displayed at once.

Panning should be done through click and drag on the glass.

Draw legend

It should be visible in screenshots and thus without interaction like the tooltip.

Implement grow and shrink settings

false | 'interval' | 'exact'

  • false: Use min/max from axis configuration.
  • interval: Round domain value to next interval.
  • exact: higher/lower of min/max or domain value from data.

Best choice for the default value would be 'interval'.

Draw title and description

This can be done outside the widget, but a chart widget should be able to do that.

Having the title and description in the graphic is also nice when exporting the image for download.

Find new type names for one-dimensional shapes

Currently:

  • 1D line: "static"
  • 1D range: "area"
  • 2D area: "polygon"

But:

  • "polygon" should be "area" to be more aligned with D3's naming.
  • "static" applies to the line as much as it does to the range.

Fix diagonal lines

Long, straight lines don't start and end on the same pixel when they are transformed (SVG).

Without "crisp" rendering this leads to blurry lines with the rendering change a step can be seen somewhere along the line.

I currently don't see how I have any chance to solve this problem.

Draw plots

{
  type: 'plot',
  values: [{ x, y, weight }]
}

weight is the third dimension that determines the size of the point/bubble. To draw the correct size the weights need to be converted to values from zero to one. But, if the absolute values should be displayed in the chart (i.e. in the tooltip) the conversion needs to be done in the draw function.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.