← Back to team overview

mahara-contributors team mailing list archive

[Bug 1472889] [NEW] Allow custom override of Chartjs graph defaults

 

Public bug reported:

Need to override the graph defaults so that we can use a custom tool tip
template.

There will be 2 patches:

1) Allowing the passing in of custom graph options

2) Updating tooltip template for some graphs

I plan to put the allowing to choose custom options in the object passed
to fetch_graph_data rather than in the graph functions themselves - this
way the same saved graph data can be used with different custom
settings.

** Affects: mahara
     Importance: Wishlist
     Assignee: Robert Lyon (robertl-9)
         Status: In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1472889

Title:
  Allow custom override of Chartjs graph defaults

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Need to override the graph defaults so that we can use a custom tool
  tip template.

  There will be 2 patches:

  1) Allowing the passing in of custom graph options

  2) Updating tooltip template for some graphs

  I plan to put the allowing to choose custom options in the object
  passed to fetch_graph_data rather than in the graph functions
  themselves - this way the same saved graph data can be used with
  different custom settings.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1472889/+subscriptions


Follow ups