Guide: Technical

a

Embedding graphs

OpiWiki gives you the possibility of embedding its beautiful graphs on your own website. What's more, there are many options which let you customize the graph to make it look beautiful on your page. To embed a graph, click the "embed" button below the graph. Then copy the generated code, open the HTML file of your website, and paste the code to any place you would like the graph to appear at. By doing this, you allow OpiWiki to run its scripts on your page. All these scripts do is displaying the graph.

Advanced: Optionally you can put the <script>...</script> part of the generated code into the <head> tag of your website, but it's not necessary.

Currently there's a possibility to embed three graphs: Pie graph, Horizontal graph, and 3D graph. To each graph you can apply custom settings. Each setting should be defined by putting the following text into the <div> tag of the generated code:

data-setting_name="setting_value"

Example:

data-anim="yes"

And here is how it may look among other settings:

<div id="ow_unique_02427" data-v="101291" data-graph="1" data-anim="yes"></div>

The following settings (and values) can be applied to the graphs:

Each graph:
v (voting_id)
graph (graph_id)
anim (Yes/No) - defines whether to animate the graph on start

Pie graph:
r (number) - radius of the Pie graph
menu (Yes/No) - defines whether to include the options data menu, on the right side of the graph

Horizontal graph:
width (number) - full width of the graph
barcolor (color_hex_code) - color of the bars, in hex format
barcolormax (color_hex_code) - "100%" color of the bars, in hex format

3D graph:
width (number) - full width of the graph
height (number) - full height of the graph
barcolor (color_hex_code) - color of the bars, in hex format

b

Beta version

This is a beta, but fully functional version of OpiWiki. You can help us make the site better by sending a feedback, reporting a bug, or by joining the discussion on meta.opi.wiki, to share your ideas publicly.

c

User contribution © info

OpiWiki is collaboratively edited and open content. It means that every user-contributed content on OpiWiki (that is what users can add to the site: talks (opinions, articles, reviews, comments), and the content of votings, discussions, items, and rankings) can be freely copied or modified, under specific terms;

You're free to:

  • Share — copy and redistribute the user-contributed content in any medium or format
  • Adapt — remix, transform, and build upon the user-contributed content
For any purpose, even commercially. Both sharing and adapting the user-contributed content must be done under the following terms:
  • You must visibly indicate that the content is from OpiWiki and hyperlink the content.
  • For talks, you must also attribute the author by adding the author's name. The author's name, if the author is a registered OpiWiki user (there's no tilde (~) before the name), should be hyperlinked to the author's OpiWiki profile.
  • You must indicate if any changes to the content were made. You may do so in any reasonable manner, but not in any way that suggests OpiWiki endorses you or your use.

If you're using the content in a format that does not allow to create hyperlinks (e.g. a piece of paper), a text link is enough, and for talks, you are free to skip the link to the author's profile, but you still must add the author's name, stating it's an OpiWiki user.

You're not allowed to create mirror or fork websites based on the content. Mirror or fork websites are websites that extensively copy or copy, but change some parts of the content of another website or websites.

We support any creative work related to OpiWiki. If you have an interesting idea, feel free to contact us.