Skip to content

Instantly share code, notes, and snippets.

@florin-chelaru
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save florin-chelaru/7851244d2d9a9996403a to your computer and use it in GitHub Desktop.
Save florin-chelaru/7851244d2d9a9996403a to your computer and use it in GitHub Desktop.
// Set the default colors for the Scatter Plot to '#ed2d2e' and '#008c47'
epiviz.EpiViz.SETTINGS.chartSettings['epiviz.plugins.charts.ScatterPlot']['colors'] =
new epiviz.ui.charts.ColorPalette(['#ed2d2e', '#008c47']);
// Set the Scatter Plot custom setting circleRadiusRatio to 0.02
epiviz.EpiViz.SETTINGS.chartCustomSettings['epiviz.plugins.charts.ScatterPlot']['circleRadiusRatio'] = 0.02;
// Tell EpiViz to only show two types of charts: Scatter Plots and Genes Tracks
epiviz.EpiViz.SETTINGS.chartTypes = [
'epiviz.plugins.charts.ScatterPlotType',
'epiviz.plugins.charts.GenesTrackType'];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment