Giter Club home page Giter Club logo

dashboard-charts's People

Contributors

dependabot[bot] avatar emmorris avatar jwildfire avatar pburnsdata avatar samussiah avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dashboard-charts's Issues

Add site level tooltip column

Test notes

  • Verify hovering over the y-axis tick labels displays the contents of the category_info column from the data.
  • Verify that specifying a nonexistent column for Category Info results in the tooltip displaying the value of the category column.

Allow for substitutions

If needed, allow for different filter or replace site column with cohort column.

Test notes

  • Download the dashboard-accrual/dashboard-accrual-over-time data file and edit the filter:Arm/filter:Site column:
    • Change the Arm to Treatment Group and Site to Clinical Site and verify the updated value appears as the control label.
    • Change the values in the column, e.g. Treatment A to TRT A or Site 1 to Duke and verify those values appear in the dropdown.

Ensure that optional variables are truly optional.

Test notes

  • For optional data mappings, settings without an asterisk in the form view of the settings in CAT, verify that specifying a nonexistent variable does not result in an error or in the chart not rendering.

Expose participants under each bar

User requested the following information to be included in the chart below each bar:
List of IDs, study status, participant characteristics

Test notes

  • Clicking on a bar reveals a listing of the participants associated with that y-axis value and population, along with any associated filter and listing variables.
  • Verify that specifying a nonexistent variable for Participant ID removes the click event from the bars.

Use superset to define percentage for subset in bar tooltips and in legend

Test notes

  • Verify that Randomized plots within Screened.
  • Verify that Randomized displays the percentage of Screened, both in the bar tooltips and in the legend.
  • Verify that specifying a nonexistent column for the Subset of setting results in the chart plotting the bars side-by-side rather than nested, and that the percentages disappear.

Add ability to export as xlsx or csv

Test notes

  • Clicking on a bar reveals a listing of the participant IDs that contributed to that bar, and an export to .csv button at the bottom of the listing.

Look into a dual data source for accrual over time.

  • actual accrual, captured in dashboard-accrual.csv: one record per participant per population with accrual date
  • a new target accrual dataset: accrual start date, accrual target, and accrual end date or accrual target rate - study-level or site-level

Enforce standard x-axis regardless of subset

The user specified "Always start at the same date even if the site hasn't started enrolling at that beginning date".

Test notes

  • Verify changing the filter does not change the range of the x-axis.

Allow truncated site name with full name on hover

Test notes

  • Verify that values of the category_abbreviation column in the data plot on the y-axis instead of values in the category column.
  • Verify that specifying a nonexistent column for Category Abbreviation results in the category column plotting on the y-axis.

Create a chart template.

  • callbacks
    • index.js
    • onInit.js
    • onLayout.js
    • onPreprocess.js
    • onDatatransform.js
    • onDraw.js
    • onResize.js
    • onDestroy.js
  • configuration
    • controlInputs.js
    • index.js
    • rendererSettings.js
    • syncControlInputs.js
    • syncSettings.js
    • webchartsSettings.js
  • test-page
    • index.html
    • index.js
  • configuration.md
  • settings-schema.js
  • specification.js
  • wrapper.js

Support overall target and site target

Use site activation date and expected enrollment.

Test notes

  • Load the dashboard-accrual-over-time data file and verify the target line appears when the filter is set to All as well as when it is set to any other option.
  • Load the dashboard-accrual-over-time-overall-target data file and verify the target line appears only when the filter is set to All.

Allow filter columns

User requested:

  • Only two
  • If there is column and data, then display filter; otherwise don't display.

Test notes

  • View the data associated with the accrual or accrual over time data files.
  • Verify that any column header prefixed filter: appears in the chart as a filter, unless the column also acts as the y-axis variable in the Accrual chart.
  • Verify that removing that column or changing the column header results in the removal of the filter.

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.