<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>6875</bug_id>
          
          <creation_ts>2014-10-23 13:56:04 +0000</creation_ts>
          <short_desc>Rework graph rendering</short_desc>
          <delta_ts>2015-01-23 19:48:14 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Error Reporting tool</product>
          <component>Error Reporting Tool</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.8 M2</target_milestone>
          
          <blocked>6523</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Wood">michael.g.wood</reporter>
          <assigned_to name="Michael Wood">michael.g.wood</assigned_to>
          
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>46527</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Wood">michael.g.wood</who>
    <bug_when>2014-10-23 13:56:04 +0000</bug_when>
    <thetext>The graph rendering is very expensive at the moment all of the graphs are rendered using a fixed template that comes with django-nvd3. To access properties which aren&apos;t exposed in this template there is some javascript in the graphs page which re-writes the result of the template render which contains the entire page and not just the graph. The result of this is then set as the page for each graph async using jquery.

We can simplify this by using a corrected graph template and not the one that is shipped with django-nvd3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48262</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Wood">michael.g.wood</who>
    <bug_when>2015-01-23 19:48:14 +0000</bug_when>
    <thetext>commit d33be0440750f0684ecccacf8af09b6937bd59c2

    home: Rework the mechanism for generating graphs via custom template
    
    Previously using python-nvd3 we were constrained by the templates
    distributed and the properties exposed by the python
    bindings/abstraction for nv d3 which were incomplete. To avoid multiple
    passes on the page (sever side and client side) we can just generate the
    graph with the correct js/html in the first place.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>