Ruben
Forum Replies Created
-
Forum: Plugins
In reply to: [Wp-D3] WordPress-d3 For DummiesHi Everybody,
@p_ebox: Thanks for the detailed example, I’ll try to improve mine and eventually your post may end up somewhere in my posts at figurebelow.com 🙂
I have been quite busy last weeks but I look forward to having more time for this and resume the development of wp-d3.
Thanks all for your feedback!
Ruben.
Forum: Plugins
In reply to: [Wp-D3] Chart appeares bellow commentsHi,
thanks for providing the feedback with the solution (and closing the thread, which not everybody does :P)
Forum: Plugins
In reply to: [Wp-D3] IE problems with WP-D3Hi,
Many times I’m not aware of these things until somebody notices them.
It’s weird because I did some testing on IE and apparently it worked fine.I’m preparing a major update of the wp-d3 interface that should get rid of these compatibility issues but I’ll lhave a look into this in the meantime.
Thanks!,
RubenForum: Plugins
In reply to: [Wp-D3] where to put extra html and cssHi,
any extra css can be uploaded in a file to your wordpress installation and then ‘included’ by adding its link into the ‘Include’ section of the chart editor.
For the svg container and code, maybe you could try to append it programmatically from the D3 code, although I’m not sure about the svg icon part.
You are right, in the backend everything is wrapped into a script block because the plugin result is javascript code appended to WordPress pages.
Forum: Plugins
In reply to: [Wp-D3] Can't seem to have more than 1 continuous looping chart on a page.Hi,
this may be a problem related to another recent post.
It could be an issue that appears when a chart is reused multiple times, there may be a problem with the duplicated variables between charts.
If it is a plugin issue the problem should disappear making sure that each chart has its own variable names.
Anyway I’m investigating this, multiple chart reusal is a new world for me ;-).Thanks!
Hi,
you are in the right place ;-).
This is the common place for anything related to Wp-D3 so feel free to comment whatever you may find interesting.
It is true that the chart Ids and code variables in multiple charts is one of the main sources of user’s problems.
Your proposal worth a look so I’ll investigate how namespaces could be handled.
Thanks for your feedback!Forum: Plugins
In reply to: [Wp-D3] Can't seem to have more than 1 continuous looping chart on a page.Hi,
if you reuse a chart twice in the same post each one of them must have different id. This means you should duplicate the tab with the same code and different id:
d3.select(“.wpd3-138-1”) and
d3.select(“.wpd3-138-2”) for the second.This is not a bug: the svg generated by D3 is created inside one HTML div, therefore if you want to duplicate a chart a second container div must be created.
Nice post by the way 😉
Forum: Plugins
In reply to: [Wp-D3] Visualizations that reference json filesHi,
Some of the examples in figurebelow.com load data from .csv files which in practice is the same as loading a .json file.
The json from your example is this, if you add it to your media library you should be able to referenciate it as an include file in the chart editorForum: Plugins
In reply to: [Wp-D3] Issues WP-D3 v2.0 fixedI’m closing this at it seems no more problems arised
Forum: Plugins
In reply to: [Wp-D3] Possible to use nvd3Hi,
to get the javascript includes recognised you should add them as links, not scripts, i.e.
I’m currently preparing the next wp-d3 plugin release that should simplify this procedure.
Your post is ok but in order to keep this wpd3-focused (:P) you can ask me privately through mail ruben@figurebelow.com.
Rubén
Forum: Plugins
In reply to: [Wp-D3] read oexternal js scriptHi,
I just copy-paste the comment from the blog to keep the support forum up to date:
“currently only local mode is supported, i.e. you can only reference files in the same server where the blog is.
I had thought about this option before but for security and performance concerns I haven’t implemented yet.
Maybe it’s about time for a second chance in the next release ;-)”Thanks again,
RubenForum: Plugins
In reply to: [Wp-D3] Possible to use nvd3Hi,
as a quick approach, if you add the nvd3 javascript library between the include tags [d3-link]
[/d3-link] and then paste your code between the [d3-source]…[/d3-source] it should work as-is (as long as there are no conflicts between d3 and nvd3…Forum: Plugins
In reply to: [Wp-D3] plugin use creates malformed html with version 3.7.1Hi,
I wish all issues had such a detailed debug as yours ;-).
I managed to find where the problem was and it has been fixed in the plugin’s version I’ve just shipped.Thanks for your feedback!
Rubén.
Forum: Plugins
In reply to: [Wp-D3] plugin use creates malformed html with version 3.7.1Hi,
what HMTL issues are you finding exactly?
I have tested wp-d3 with my test pages in WP 3.7.1 and they seem to work fine.Ruben.
Forum: Plugins
In reply to: [Wp-D3] do you calculate the layout sizeclosed as result of a later post