Comments (12)
An example of the "bounds" annotation for XYFrame was added to the interactive docs version of the Apple chart:
https://emeeks.github.io/semiotic/#/semiotic/annotations
Let me know if you have any issues.
from semiotic.
This issue has rect me
from semiotic.
Also, this seems like more of a Stack Overflow type question than a github issue. @emeeks what do you think? Do you want to concentrate all feedback here for now, or should we move this kind of stuff somewhere else?
from semiotic.
I updated to the latest version of semiotic and lots of things broke with my annotations or look weird. Sorting that out now. annotationCalloutRect now seems to throw an error.
from semiotic.
I had to go back to 1.0.6 to make my charts work again ;)
from semiotic.
Hi Ben I have solutions for you but I haven't published the new version!
The short answer on your last issue was that as of 1.1 Semiotic has moved to react-annotation with the primary problem (and the reason for the minor version bump) being that react-annotation follows React naming conventions, so all your d3-svg-annotation types need capital letters!
from semiotic.
Unfortunately I don't support an interface into Susie's data API in her annotations. I plan to do so in the future so you can use Semiotic syntax or react-annotation syntax. What your example taught me is that I need to have a better default "bounds" annotation type. The current version supports a bounding box, so you could painstakingly calculate the top and bottom and get that effect, but the new version defaults to the extent of the chart for anything not sent to it. As a result you could make your annotation or anything like it. Here I've used it to add a bounded region to the Apple Stock chart example:
The other drawback of the original bounds annotation is that it created custom SVG elements, now it acts as a pass-through to react-annotation's AnnotationCalloutRect
like your example.
This is all available in the 1.1.4 which I just published.
from semiotic.
And no, I'd prefer the pioneer tax be paid here on Github. Many of the issues are not StackOverflow type. I'd wait until there are other people besides me who can answer questions before opening up that route.
from semiotic.
Word.
from semiotic.
Those examples helped a ton. Upgraded and got everything working again. Thanks!
from semiotic.
Hey that looks like it's working! But all your scummy sketchy lines have been replaced. I feel like somebody got to you.
from semiotic.
@emeeks It became an issue with one of the reports where I used a stacked area chart. The sketchy area isn't as fun as the sketchy line.
from semiotic.
Related Issues (20)
- Use Vercel to deploy developer documentation for latest HOT 2
- Decide whether to consolidate semiotic and semiotic-docs repo HOT 8
- Check if auto-external plugin can warn us about import errors
- Add to contributing doc when to upgrade dependencies.
- Run typescript checks in CI
- Add documentation issues from archived repo
- oSort with connectors causes issues in OrdinalFrame
- Create changelog for 2.0 HOT 2
- Add Migration Guide for 1.0 users
- Replace element-resize-event HOT 5
- Sorting in OrdinalFrame Doesn't Work With Dynamic Column Width
- Frames' space allocation behavior can be generalized
- Bundled size quite large HOT 3
- Canvas Rendering Doesn't Initially Render HOT 3
- Remove redundant attribute [Was: class and className entries] HOT 1
- Transition tooltip position HOT 1
- More position options for the legend HOT 3
- How to use with nteract?
- Ability to specify width in terms of percentage
- Some of the website pages are fully blank
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from semiotic.