Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Activity chart #14

Merged
merged 34 commits into from Feb 6, 2017
Merged

[WIP] Activity chart #14

merged 34 commits into from Feb 6, 2017

Commits on Jan 2, 2017

  1. Configuration menu
    Copy the full SHA
    db88e95 View commit details
    Browse the repository at this point in the history
  2. create activitychart skeleton code and import @jak-ing code

    (currently not working and hard coded data)
    MaximilianV committed Jan 2, 2017
    Configuration menu
    Copy the full SHA
    69a01b6 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2017

  1. chart is now working, still hard coded data

    maybe we have an js expert who can find a cleaner approach to solve the "this" problem.
    MaximilianV committed Jan 8, 2017
    2 Configuration menu
    Copy the full SHA
    da3fe2a View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2017

  1. Labels are displayed inside the SVG. Width of the label's background …

    …rect is set relative to the label's text length.
    JE committed Jan 9, 2017
    Configuration menu
    Copy the full SHA
    6ccb6e2 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2017

  1. data might be passed as json in parameters

    if dataurl is provided, this will be used, otherwise the parameters dataset and labels are processed.
    MaximilianV committed Jan 10, 2017
    Configuration menu
    Copy the full SHA
    018b182 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1747cad View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2017

  1. ajax call isn't performed when supplying data directly

    replacing ready by attached has done the trick
    MaximilianV committed Jan 11, 2017
    Configuration menu
    Copy the full SHA
    af4c3fd View commit details
    Browse the repository at this point in the history
  2. Fix SVG chart dimensions, use ES6 notation

    Set SVG height and width dynamically based on the size of the dataset and squaresPerRow. Use ES6 notation for calculating min and max values of the dataset.
    JE committed Jan 11, 2017
    Configuration menu
    Copy the full SHA
    7613df8 View commit details
    Browse the repository at this point in the history
  3. Use a more D3-y approach for the dataset.

    Make the dataset that is passed to D3 and which the visualization is built from look like this: [ {'x': timeStamp0, 'y': value0}, ... ,{'x': timeStampN, 'y': valueN}]
    JE committed Jan 11, 2017
    Configuration menu
    Copy the full SHA
    3bdcfac View commit details
    Browse the repository at this point in the history
  4. Use custom colors

    Use the two custom colors marking the minimum and the maximum color. Custom colors can be passed to the component via an attribute in the HTML tag.
    JE committed Jan 11, 2017
    Configuration menu
    Copy the full SHA
    f37fe84 View commit details
    Browse the repository at this point in the history
  5. Change orientation, improve label positioning

    Change orientation changing the focus from rows to columns.
    Improve the calculation of positions and sizes for the labels to make these values more consistent among different square sizes, spacing options etc by mostly dropping hardcoded values.
    JE committed Jan 11, 2017
    Configuration menu
    Copy the full SHA
    e4b408e View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2017

  1. Add support for custom minimum/maximum value

    Allow the minimum and maximum value used for the color scale to be overwritten by arguments in the HTML tag. By default, these values are derived from the dataset.
    JE committed Jan 12, 2017
    Configuration menu
    Copy the full SHA
    58995ce View commit details
    Browse the repository at this point in the history
  2. Merge master changes into activity-chart

    JE committed Jan 12, 2017
    Configuration menu
    Copy the full SHA
    8a8e155 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    50b04ca View commit details
    Browse the repository at this point in the history
  4. Edit .gitignore

    JE committed Jan 12, 2017
    Configuration menu
    Copy the full SHA
    410a22f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2f04302 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2017

  1. Add more padding to label

    JE committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    ff9c404 View commit details
    Browse the repository at this point in the history
  2. Refactor from squareWidth to squareSize

    JE committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    fdad5bf View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2017

  1. Fix style

    Omitted unnecessary != "" part in if
    Moved a var declaration above its use
    flowirtz committed Jan 22, 2017
    Configuration menu
    Copy the full SHA
    6082b13 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2017

  1. Add dynamic axes and labels, fix traversal problem

    SquaresPerColumn is now always derived from the number of axis labels. Add stub for alternating between user and course activity. Fix Polymer.dom(this).parentNode problem. Limit D3 to only scan the Polymer component's local DOM instead of the whole DOM thus avoiding problems when instantiating a component more than once on a page.
    JE committed Jan 30, 2017
    Configuration menu
    Copy the full SHA
    5257e4a View commit details
    Browse the repository at this point in the history
  2. Merge with origin

    JE committed Jan 30, 2017
    Configuration menu
    Copy the full SHA
    349387b View commit details
    Browse the repository at this point in the history
  3. Support customizable separator for labels

    JE committed Jan 30, 2017
    Configuration menu
    Copy the full SHA
    cf43575 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2017

  1. Configuration menu
    Copy the full SHA
    690c8dc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    816a9b9 View commit details
    Browse the repository at this point in the history
  3. 2 Configuration menu
    Copy the full SHA
    9c7163a View commit details
    Browse the repository at this point in the history
  4. Improve insertion of hover-label

    JE committed Feb 2, 2017
    Configuration menu
    Copy the full SHA
    68ca7a4 View commit details
    Browse the repository at this point in the history
  5. Generalize attributes and their possible values

    Improve some naming of the attributes too.
    JE committed Feb 2, 2017
    Configuration menu
    Copy the full SHA
    2074174 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    785a759 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2017

  1. Configuration menu
    Copy the full SHA
    f18bbc3 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2017

  1. Make diagram scrollable along x axis

    JE committed Feb 5, 2017
    Configuration menu
    Copy the full SHA
    a59e687 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3216b17 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2017

  1. Merge branch 'master' into activity-chart

    Lars Lange committed Feb 6, 2017
    Configuration menu
    Copy the full SHA
    b726e20 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into activity-chart

    Lars Lange committed Feb 6, 2017
    Configuration menu
    Copy the full SHA
    027045b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1230a84 View commit details
    Browse the repository at this point in the history