access tick.format via api?
See original GitHub issueI have a timeseries graph by weeks.
So, I have the tick format set to: ‘%Y-%m-%d’
When you click “by month” I reload the data to show by month.
When that happens I would like to do something like:
chart.axis.x.tick.format = '%Y-%m'; // e.g. drop day since we're grouping by month
Or:
chart.axis({
x: {
tick: {
format = '%Y-%m'
}
}
});
Is that possible? If not, would it be possible to add that to the API?
Thanks! C3 is great.
Issue Analytics
- State:
- Created 9 years ago
- Reactions:7
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How to retrieve page-based data using Tick History REST API
The following article provides developers a method to use Refinitiv Tick History (RTH) - REST API to retrieve page-based data which mainly used...
Read more >How to Use an API: Just the Basics 2022 | TechnologyAdvice
The easiest way to start using an API is by finding an HTTP client online, like REST-Client, Postman, or Paw. These ready-to-use tools...
Read more >Setting up CloudWatch logging for a REST API in API Gateway
Learn how to set up CloudWatch logging in Amazon API Gateway. ... The access log format must include at least $context.requestId or $context....
Read more >Understanding And Using REST APIs - Smashing Magazine
Everything you need to know about REST APIs, from start to finish. ... a common format for sending and requesting data through a...
Read more >Query data using the Web API (Microsoft Dataverse)
This is a sub-set of the 11.2.5.1.2 Built-in Query Functions. Date , Math , Type , Geo and other string functions aren't supported...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, Currently there is no api to change the
axis.x.tick.format
, but you can do this by defining a variable outside of the format function. Please see this fiddle http://jsfiddle.net/hG2eZ/2/ .All right. I’ll close this issue. Thanks!