Skip to content

[FIX] Fixed svg function to return svg chart together with container div for highcharts#1541

Merged
ajdapretnar merged 3 commits intobiolab:masterfrom
PrimozGodec:svg-export-fix
Sep 20, 2016
Merged

[FIX] Fixed svg function to return svg chart together with container div for highcharts#1541
ajdapretnar merged 3 commits intobiolab:masterfrom
PrimozGodec:svg-export-fix

Conversation

@PrimozGodec
Copy link
Contributor

@PrimozGodec PrimozGodec commented Sep 6, 2016

It is required that also axis labels are provided in a report.

Also fixed svg function in webview to take return whole svg. Before svg was returned without last >

@codecov-io
Copy link

codecov-io commented Sep 6, 2016

Current coverage is 88.69% (diff: 100%)

Merging #1541 into master will increase coverage by 0.41%

@@             master      #1541   diff @@
==========================================
  Files            77         78     +1   
  Lines          7624       8108   +484   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           6730       7191   +461   
- Misses          894        917    +23   
  Partials          0          0          

Sunburst

Powered by Codecov. Last update ac050e1...4ab7ba0

@PrimozGodec PrimozGodec changed the title [FIX] Fixed svg function to return whole svg tag content [FIX] Fixed svg function to return svg chart together with container div Sep 6, 2016
…iew and returns whole div instead only svg part. It is required in report that also axis labels are shown.
@PrimozGodec PrimozGodec changed the title [FIX] Fixed svg function to return svg chart together with container div [FIX] Fixed svg function to return svg chart together with container div for highcharts Sep 6, 2016
@PrimozGodec
Copy link
Contributor Author

@kernc It is corrected now.


def svg(self):
""" Return SVG string of the first SVG element on the page, or
raise ValueError if not any. """
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a comment why this is overridden and why a non-SVG is returned.

@kernc kernc assigned PrimozGodec and unassigned kernc Sep 16, 2016
@PrimozGodec
Copy link
Contributor Author

Done.

@ajdapretnar ajdapretnar merged commit 3b1196a into biolab:master Sep 20, 2016
@PrimozGodec PrimozGodec deleted the svg-export-fix branch September 20, 2016 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants