Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support 'Style by CSS' functionality

See original GitHub issue

@kirjs Currently in react-highcharts the only way to style is through the highcharts API. It would be extremely helpful to incorporate Style by CSS.

jsbin showing it is not supported:,css,js,output

documentation on ‘new’ style by css functionality:

Could be done via a prop such as styleByCss

<ReactHighstock config={myConfig)} styleByCss={true} />

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

Jakehpcommented, Dec 21, 2016

Workaround - import the Style By Css version of the lib, and pass to react-highcharts. Maybe it’s not in react-highcharts scope to determine this?

import highcharts from 'highcharts/js/highcharts'; // import style by css highcharts
const ReactHighstock = require('react-highcharts').withHighcharts(highcharts);
kirjscommented, Dec 13, 2016

I’m traveling ATM and won’t be able to implement, but happy to merge a PR

Read more comments on GitHub >

github_iconTop Results From Across the Web

supports - CSS: Cascading Style Sheets - MDN Web Docs
The @supports CSS at-rule lets you specify CSS declarations that depend on a browser's support for CSS features. Using this at-rule is ...
Read more >
How @supports Works | CSS-Tricks
CSS has a neat feature that allows us to test if the browser supports a particular property or property:value combination before applying a ......
Read more >
Can I use... Support tables for HTML5, CSS3, etc
"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.
Read more >
Detecting CSS Style Support | Ryan Morr
The isStyleSupported function accepts a style property as the first parameter in standard CSS notation (kebab-case or hyphenated format) and ...
Read more >
CSS Support Guide for Email Clients [+Checklist]
The Ultimate Guide to CSS. A complete breakdown of the CSS support for the most popular mobile, web and desktop email clients on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found