client/app/bundles/course/video/submission/containers/Charts/ProgressGraph.jsx
Function renderPlot
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
renderPlot() {
const displayData = this.computeData(this.state.selectedSessionId);
if (!displayData) {
return <Scatter />;
}
- Create a ticketCreate a ticket
Function renderDropDown
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
renderDropDown() {
const sessionKeys = Object.keys(this.props.sessions);
const items = sessionKeys.map((key) => {
const session = this.props.sessions[key];
const startTime = new Date(session.sessionStart);
- Create a ticketCreate a ticket
Function generateToolTipOptions
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
generateToolTipOptions() {
return {
tooltip: {
displayColors: false,
bodyFont: {
- Create a ticketCreate a ticket