Specify X tick marks as both category and specified?

DataGraph Forums Technical Support Support Desk Specify X tick marks as both category and specified?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9671
    uma bhatt
    Participant

      Dear Consultants,

      I am trying to make a graph with dates on the x axis for some of 183 days. I used Categories in X tick marks and then a Date data column where I removed the dates I did not want to show up. But then I can not specify the tick marks I want and all 183 show up as the same size. I would like major tick marks a the start and middle of the month and minor ticks or none in between. I am sure there is a smarter way to do this but I could not figure it out or find in the FAQ or in the documentation. I am attaching a screenshot.

      Regards,

      UmaScreen Shot 2022-09-29 at 9.48.13 AM

      #9672
      dgteam
      Moderator

        Here is an example with custom date axis labels.

        The locations are set by selecting “Labels” in the Axis settings.

        The year, month, and day are generated using Expression columns.

        DateAxis

        These are then combined into the Days column using a seconds(year, month, day) function where the Type is set to “Date”.  You could combine it into one expression but we left it separate for clarity.

        The Labels column is created using a Mask column.

        datescolumns

        Does this help?

        #9673
        uma bhatt
        Participant

          Thanks so much for the quick response. I think I understand and will give it a try!

           

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.

        DataGraph Forums Technical Support Support Desk Specify X tick marks as both category and specified?