Skip to main content
1-Visitor
August 11, 2014
Question

Datashape Management

  • August 11, 2014
  • 4 replies
  • 1233 views

Hello,

Is it possible to create/modify a datashape using a service?

Thank you,

Mike

    4 replies

    5-Regular Member
    August 11, 2014

    Hi Michael,

    Can you provide a little more information about the use case for this?


    Thank you,

    Saeed



    1-Visitor
    August 14, 2014

    Saeed,

    The main purpose for this is I want to be able to have a multi x-axis label graph that would allow for variable DataFields. The issue I run into is A) you cannot have a multiple x axis label graph (I want week to show up underneath, then another category above that) like excel and B) you cannot variably bind DataFields so if your query for a certain time period doesn't contain that field it always shows regardless or if the data is labeled differently from location to location, you have to make a specific graph for each location.

    Thank you,

    Mike



    1-Visitor
    August 14, 2014

    To clarify further, my data looks like the following in the infotable.

    Week        Area                         Weight
    1                Processing                50
    1                Packaging                  100
    2                 Processing                30
    2                 Packaging                 120
    2                 Hold                           80


    I want the weight to be the y axis, the week to be the x axis and the unique Areas to be Datafield labels




    1-Visitor
    September 25, 2014

    Hi, 

    I am also looking for service to create a data shape. It seems this is missing in the EntityServices.

    Our use case is that I have an external application that has definitions for various device types and with a different set of sampling variables each. I would like to create a ThingTemplate for each device model and a data shape matching the defined variables programmatically via the REST API or a service call. I can do everything except for creating a data shape it seems.


    If this question was answered, would you provide the answer please?

    Thanks!